]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: use symbolic constant in stts()
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 26 May 2008 22:31:03 +0000 (23:31 +0100)
committerThomas 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

index a2f04cd79b29617e4677a0a1a1c23f4f1d434b23..7e4c133795a13caa0e0f7c136c80dafcc77f648b 100644 (file)
@@ -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__ */