ARC: fold __builtin_constant_p() into test_bit()
authorVineet Gupta <vgupta@synopsys.com>
Fri, 7 Nov 2014 13:49:37 +0000 (19:19 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 13 Apr 2015 09:44:57 +0000 (15:14 +0530)
commitde60c1a1849c57e864f02f0d921993982b1648f8
tree869ad7203ec49c483fcc2d5a89ace26337a67dda
parent0dfb8ec70fd67be02096eaf9898feb94950d6f06
ARC: fold __builtin_constant_p() into test_bit()

This makes test_bit() more like its siblings *_bit() routines.
Also add some comments about the constant @nr micro-optimization

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/bitops.h