提交 4e09e21c 编写于 作者: J Jeremy Fitzhardinge 提交者: Thomas Gleixner

x86: use symbolic constant in stts()

Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 1a20d3ec
......@@ -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__ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册