Skip to content
Commit bbe6fa04 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

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: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 1781ec9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment