Commit aa040b2f authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Ingo Molnar

x86: simplify sync_test_bit(), improve

Using a naked parameterless macro could lead to other tokens being
unexpectedly replaced.
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment