diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-01-27 21:49:56 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-01-27 21:49:56 +0000 |
commit | a5adea5c2a9450805ecf9433cb2784fc6c5a8279 (patch) | |
tree | abe7bd70d5be742a20c9aaca78bbd130fc97c114 /target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h | |
parent | 2689e63f5852ff7a3085cdfcc98bd7f9288a799f (diff) | |
download | upstream-a5adea5c2a9450805ecf9433cb2784fc6c5a8279.tar.gz upstream-a5adea5c2a9450805ecf9433cb2784fc6c5a8279.tar.bz2 upstream-a5adea5c2a9450805ecf9433cb2784fc6c5a8279.zip |
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>
SVN-Revision: 25175
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.h | 25 |
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 */ |