diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-03-02 12:29:16 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-19 11:33:43 +0000 |
commit | 41b078f8aecd9d01b83ac8ceb646645b8d1c4722 (patch) | |
tree | e35233875e2c3a907b050ac8b679ab2d9da2833a /src/arch/x86/acpi/statdef.asl | |
parent | 1e1d5d60f72efa006dad18cab9f49f381d79cd9b (diff) |
cpu/x86/mp_init.c: Don't overwrite the global variable per CPU
Global variables are located in .bss and not on the CPU stack.
Overwriting them a per CPU case is bound to cause race conditions. In
this case it is even just plainly wrong.
Note: This variable is set up in the get_smm_info() function.
Change-Id: Iaef26fa996f7e30b6e4c4941683026b8a29a5fd1
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51184
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch/x86/acpi/statdef.asl')
0 files changed, 0 insertions, 0 deletions