summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-05-26 23:31:03 +0100
committerThomas Gleixner <tglx@linutronix.de>2008-05-27 10:04:29 +0200
commit4e09e21ccb0dfe7ee8d5641192e0072e83bd916b (patch)
treeb8b9e6e4677c0f3bf69614e5afd680569bf332fa
parent1a20d3ecf5c2a6435df2b756435b1eb1c657d45b (diff)
x86: use symbolic constant in stts()
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/asm-x86/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/system.h b/include/asm-x86/system.h
index a2f04cd79b2..7e4c133795a 100644
--- 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__ */