提交 aa040b2f 编写于 作者: J Jeremy Fitzhardinge 提交者: Ingo Molnar

x86: simplify sync_test_bit(), improve

Using a naked parameterless macro could lead to other tokens being
unexpectedly replaced.
Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 537e3313
......@@ -123,7 +123,7 @@ static inline int sync_test_and_change_bit(int nr, volatile unsigned long *addr)
return oldbit;
}
#define sync_test_bit test_bit
#define sync_test_bit(nr, addr) test_bit(nr, addr)
#undef ADDR
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册