projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0732f87
)
Blackfin: use common test_bit() rather than __test_bit()
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 13 Jun 2009 14:32:29 +0000
(10:32 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 19 Jun 2009 01:40:40 +0000
(21:40 -0400)
Convert to test_bit() as that is what pretty much everyone uses and allows
us to migrate asm/bitops.h to the asm-generic version.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/ints-priority.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/ints-priority.c
b/arch/blackfin/mach-common/ints-priority.c
index
351afd0
..
af70f09
100644
(file)
--- a/
arch/blackfin/mach-common/ints-priority.c
+++ b/
arch/blackfin/mach-common/ints-priority.c
@@
-472,7
+472,7
@@
static int bfin_gpio_irq_type(unsigned int irq, unsigned int type)
if (type == IRQ_TYPE_PROBE) {
/* only probe unenabled GPIO interrupt lines */
- if (
__
test_bit(gpionr, gpio_enabled))
+ if (test_bit(gpionr, gpio_enabled))
return 0;
type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING;
}
@@
-782,7
+782,7
@@
static int bfin_gpio_irq_type(unsigned int irq, unsigned int type)
if (type == IRQ_TYPE_PROBE) {
/* only probe unenabled GPIO interrupt lines */
- if (
__
test_bit(gpionr, gpio_enabled))
+ if (test_bit(gpionr, gpio_enabled))
return 0;
type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING;
}