summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2013-12-19 11:58:16 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2013-12-19 11:58:16 -0800
commit7e98b71920464b8d15fa95c74366416cd3c88861 (patch)
treee33e2af9f6a1813490aa686619de72c67b159e81 /arch/x86/kernel/smpboot.c
parent16824255394f55adf31b9a96a9965d8c15bdac4c (diff)
downloadop-kernel-dev-7e98b71920464b8d15fa95c74366416cd3c88861.zip
op-kernel-dev-7e98b71920464b8d15fa95c74366416cd3c88861.tar.gz
x86, idle: Use static_cpu_has() for CLFLUSH workaround, add barriers
Use static_cpu_has() to conditionalize the CLFLUSH workaround, and add memory barriers around it since the documentation is explicit that CLFLUSH is only ordered with respect to MFENCE. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Len Brown <len.brown@intel.com> Link: http://lkml.kernel.org/r/CA%2B55aFzGxcML7j8CEvQPYzh0W81uVoAAVmGctMOUZ7CZ1yYd2A@mail.gmail.com
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud