x86: use symbolic constant in stts()

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Jeremy Fitzhardinge 2008-05-26 23:31:03 +01:00 committed by Thomas Gleixner
parent 1a20d3ecf5
commit 4e09e21ccb

View 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__ */