From: Jeremy Fitzhardinge Date: Mon, 26 May 2008 22:31:03 +0000 (+0100) Subject: x86: use symbolic constant in stts() X-Git-Tag: v2.6.27-rc1~1106^2~251^6~21 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4e09e21ccb0dfe7ee8d5641192e0072e83bd916b;p=linux-2.6-omap-h63xx.git x86: use symbolic constant in stts() Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Thomas Gleixner --- 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__ */