projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a20d3e
)
x86: use symbolic constant in stts()
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Mon, 26 May 2008 22:31:03 +0000
(23:31 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 27 May 2008 08:04:29 +0000
(10:04 +0200)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/system.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/system.h
b/include/asm-x86/system.h
index a2f04cd79b29617e4677a0a1a1c23f4f1d434b23..7e4c133795a13caa0e0f7c136c80dafcc77f648b 100644
(file)
--- a/
include/asm-x86/system.h
+++ b/
include/asm-x86/system.h
@@
-289,7
+289,7
@@
static inline void native_wbinvd(void)
#endif/* CONFIG_PARAVIRT */
-#define stts() write_cr0(
8 | read_cr0()
)
+#define stts() write_cr0(
read_cr0() | X86_CR0_TS
)
#endif /* __KERNEL__ */