Skip to content

Commit

Permalink
x86: use symbolic constant in stts()
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Jeremy Fitzhardinge authored and Thomas Gleixner committed May 27, 2008
1 parent 1a20d3e commit 4e09e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-x86/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

Expand Down

0 comments on commit 4e09e21

Please sign in to comment.