aboutsummaryrefslogtreecommitdiffstats
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 21b036eadab1..75fee2f7d9f2 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)
109 109
110static inline void change_bit(int nr, volatile unsigned long *addr) 110static inline void change_bit(int nr, volatile unsigned long *addr)
111{ 111{
112 int mask, flags; 112 int mask;
113 unsigned long flags;
113 unsigned long *ADDR = (unsigned long *)addr; 114 unsigned long *ADDR = (unsigned long *)addr;
114 115
115 ADDR += nr >> 5; 116 ADDR += nr >> 5;