aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-01-27 21:49:56 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-01-27 21:49:56 +0000
commit2e7adc9de9e1743416eb51e4770aab3692080cc4 (patch)
treef1d9a4d85a20913a4bddd2dfcbb2e820233c28d7 /target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h
parentcfbe1a66e071c78df1185c8187e53f6cba5182d9 (diff)
downloadmaster-187ad058-2e7adc9de9e1743416eb51e4770aab3692080cc4.tar.gz
master-187ad058-2e7adc9de9e1743416eb51e4770aab3692080cc4.tar.bz2
master-187ad058-2e7adc9de9e1743416eb51e4770aab3692080cc4.zip
[adm8668] clean up mach-adm8668 includes
This patch cleans up the include directory, as they were from vendors 2.4 GPL source. Now only what's used is there. Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25175 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h')
-rw-r--r--target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h b/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h
index 425bba6a9f..1341309f2b 100644
--- a/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h
+++ b/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h
@@ -8,28 +8,9 @@
#ifndef __ASM_MACH_ADM8668_IRQ_H
#define __ASM_MACH_ADM8668_IRQ_H
-#ifndef NR_IRQS
-#define NR_IRQS 32
-#endif
+#define NR_IRQS 32
+#define MIPS_CPU_IRQ_BASE 16
-#ifdef CONFIG_IRQ_CPU
-
-#ifndef MIPS_CPU_IRQ_BASE
-#define MIPS_CPU_IRQ_BASE 16
-#endif
-
-#ifdef CONFIG_IRQ_CPU_RM7K
-#ifndef RM7K_CPU_IRQ_BASE
-#define RM7K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+8)
-#endif
-#endif
-
-#ifdef CONFIG_IRQ_CPU_RM9K
-#ifndef RM9K_CPU_IRQ_BASE
-#define RM9K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+12)
-#endif
-#endif
-
-#endif /* CONFIG_IRQ_CPU */
+#define IRQ_MASK 0xffff
#endif /* __ASM_MACH_ADM8668_IRQ_H */