projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git]
/
target
/
linux
/
rb532
/
files
/
arch
/
mips
/
rb500
/
irq.c
diff --git
a/target/linux/rb532/files/arch/mips/rb500/irq.c
b/target/linux/rb532/files/arch/mips/rb500/irq.c
index
47521c7
..
5a4d349
100644
(file)
--- a/
target/linux/rb532/files/arch/mips/rb500/irq.c
+++ b/
target/linux/rb532/files/arch/mips/rb500/irq.c
@@
-63,6
+63,7
@@
static void rb500_enable_irq(unsigned int irq_nr);
static void rb500_disable_irq(unsigned int irq_nr);
extern void __init init_generic_irq(void);
static void rb500_disable_irq(unsigned int irq_nr);
extern void __init init_generic_irq(void);
+extern struct rb500_gpio_reg __iomem *rb500_gpio_reg0;
typedef struct {
u32 mask; /* mask of valid bits in pending/mask registers */
typedef struct {
u32 mask; /* mask of valid bits in pending/mask registers */
@@
-205,7
+206,7
@@
static void rb500_end_irq(unsigned int irq_nr)
intr_bit = 1 << ip;
if (irq_nr >= GROUP4_IRQ_BASE && irq_nr <= (GROUP4_IRQ_BASE + 13)) {
intr_bit = 1 << ip;
if (irq_nr >= GROUP4_IRQ_BASE && irq_nr <= (GROUP4_IRQ_BASE + 13)) {
-
gpio->gpioistat = gpio
->gpioistat & ~intr_bit;
+
rb500_gpio_reg0->gpioistat = rb500_gpio_reg0
->gpioistat & ~intr_bit;
}
enable_local_irq(group_to_ip(group));
}
enable_local_irq(group_to_ip(group));
This page took
0.02169 seconds
and
4
git commands to generate.