forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch/x86_64: Flag xuk shared page volatile
The shared page is inherently used in multiprocessor contexts where the compiler optimizer can trip us up (specifically, a spin on num_active_pus was being hoisted out of the loop on some gcc's). Put the volatile declartion into the struct pointer itself instead of relying on the code to get it right. Signed-off-by: Andy Ross <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters