git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1682425
)
x86, idle: Use static_cpu_has() for CLFLUSH workaround, add barriers
author
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 19 Dec 2013 19:58:16 +0000
(11:58 -0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 19 Dec 2013 19:58:16 +0000
(11:58 -0800)
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
arch/x86/include/asm/mwait.h
patch
|
blob
|
history
diff --cc
arch/x86/include/asm/mwait.h
Simple merge