summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros-2.6/files/arch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-23 23:10:09 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-23 23:10:09 +0000
commitaf4943742e88a909a71e01b7b083d36802af0221 (patch)
tree0599eb0d217eddadc782fdb3e2cbbab142e128d9 /target/linux/atheros-2.6/files/arch
parentfdd7f3bd06b6ffc006756eb13233127fb190f458 (diff)
update netfilter patches, fix atheros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7320 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros-2.6/files/arch')
-rw-r--r--target/linux/atheros-2.6/files/arch/mips/atheros/ar531x.h3
-rw-r--r--target/linux/atheros-2.6/files/arch/mips/atheros/irq.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/atheros-2.6/files/arch/mips/atheros/ar531x.h b/target/linux/atheros-2.6/files/arch/mips/atheros/ar531x.h
index 471cc7e7d..56f63030c 100644
--- a/target/linux/atheros-2.6/files/arch/mips/atheros/ar531x.h
+++ b/target/linux/atheros-2.6/files/arch/mips/atheros/ar531x.h
@@ -27,9 +27,8 @@
#define DO_AR5315(...)
#endif
+#include <irq.h>
-
-#define MIPS_CPU_IRQ_BASE 0x00
#define AR531X_HIGH_PRIO 0x10
#define AR531X_MISC_IRQ_BASE 0x20
#define AR531X_GPIO_IRQ_BASE 0x30
diff --git a/target/linux/atheros-2.6/files/arch/mips/atheros/irq.c b/target/linux/atheros-2.6/files/arch/mips/atheros/irq.c
index 052dbc1d2..5665aa3b9 100644
--- a/target/linux/atheros-2.6/files/arch/mips/atheros/irq.c
+++ b/target/linux/atheros-2.6/files/arch/mips/atheros/irq.c
@@ -74,7 +74,7 @@ asmlinkage void plat_irq_dispatch(void)
void __init arch_init_irq(void)
{
clear_c0_status(ST0_IM);
- mips_cpu_irq_init(0);
+ mips_cpu_irq_init();
/* Initialize interrupt controllers */
DO_AR5312(ar5312_misc_intr_init(AR531X_MISC_IRQ_BASE);)