aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/bitops.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-08 09:51:30 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:09 -0400
commitf9ee3ab81c222219ad4467b75b406efe2616d8a4 (patch)
tree1ca12ff109dfe667917459eec5e8c520e88cd0fd /arch/blackfin/include/asm/bitops.h
parent82bd1d7d45a69c54fb6beedb78ccb1c7d308dd93 (diff)
Blackfin: fix flag storage for irq funcs
The IRQ functions take an "unsigned long" flags variable, not any other type, so fix the places where we use "int" or "long". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/bitops.h')
-rw-r--r--arch/blackfin/include/asm/bitops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h
index 21b036eadab..75fee2f7d9f 100644
--- a/arch/blackfin/include/asm/bitops.h
+++ b/arch/blackfin/include/asm/bitops.h
@@ -109,7 +109,8 @@ static inline void clear_bit(int nr, volatile unsigned long *addr)
static inline void change_bit(int nr, volatile unsigned long *addr)
{
- int mask, flags;
+ int mask;
+ unsigned long flags;
unsigned long *ADDR = (unsigned long *)addr;
ADDR += nr >> 5;