Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] s390: remove one set of brackets in __constant_test_bit()

Right now in __constant_test_bit for the s390 there is an extra set of ()
surrounding the calculation. This patch simply removes one set of () that is
surrounding the whole clause.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Eric Paris and committed by
Linus Torvalds
ef1bea9e 0defa3c1

+2 -2
+2 -2
include/asm-s390/bitops.h
··· 518 518 519 519 static inline int 520 520 __constant_test_bit(unsigned long nr, const volatile unsigned long *addr) { 521 - return ((((volatile char *) addr) 522 - [(nr^(__BITOPS_WORDSIZE-8))>>3] & (1<<(nr&7)))) != 0; 521 + return (((volatile char *) addr) 522 + [(nr^(__BITOPS_WORDSIZE-8))>>3] & (1<<(nr&7))) != 0; 523 523 } 524 524 525 525 #define test_bit(nr,addr) \