aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/bitops.h
diff options
context:
space:
mode:
authorAkinobu Mita <mita@miraclelinux.com>2006-03-26 04:39:04 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-26 11:57:10 -0500
commit3156054b02e263387d6cd27fd1b05eba2bc25459 (patch)
tree902cb3735f6f124ed0614087211a9c8f675e0673 /include/asm-parisc/bitops.h
parent4668f0cd0abd41a908ec7aa292e91fd158e0c8f8 (diff)
[PATCH] bitops: parisc: add ()-pair in __ffz() macro
Noticed by Michael Tokarev add missing ()-pair in __ffz() macro for parisc Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-parisc/bitops.h')
-rw-r--r--include/asm-parisc/bitops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/bitops.h b/include/asm-parisc/bitops.h
index 15d8c2b51584..ca6119af20af 100644
--- a/include/asm-parisc/bitops.h
+++ b/include/asm-parisc/bitops.h
@@ -220,7 +220,7 @@ static __inline__ unsigned long __ffs(unsigned long x)
220} 220}
221 221
222/* Undefined if no bit is zero. */ 222/* Undefined if no bit is zero. */
223#define ffz(x) __ffs(~x) 223#define ffz(x) __ffs(~(x))
224 224
225/* 225/*
226 * ffs: find first bit set. returns 1 to BITS_PER_LONG or 0 (if none set) 226 * ffs: find first bit set. returns 1 to BITS_PER_LONG or 0 (if none set)