Commit 863be3c3 authored by bibo mao's avatar bibo mao Committed by Thomas Bogendoerfer

MIPS: Add header files reference with path prefix

There are some common header files which are referenced locally
with #includenext method, includenext is tricky method and only
used on mips platform.

This patech removes includenext method, replace it with defailed
pathname prefix for header files.

This patch passes to compile on all mips platform with defconfig,
and is verified on my loongson64 box.

Changes:
--------
v2:
  - Fix compiling issue on malta platform
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarbibo mao <maobibo@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent e585b768
......@@ -11,6 +11,6 @@
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_AR7_IRQ_H */
......@@ -27,6 +27,6 @@
#define ATH79_IP3_IRQ_COUNT 3
#define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x))
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_ATH79_IRQ_H */
......@@ -10,6 +10,6 @@
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_EMMA2RH_IRQ_H */
......@@ -12,7 +12,7 @@
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#define IP27_HUB_PEND0_IRQ (MIPS_CPU_IRQ_BASE + 2)
#define IP27_HUB_PEND1_IRQ (MIPS_CPU_IRQ_BASE + 3)
......
......@@ -76,7 +76,7 @@ extern void __init ip30_install_ipi(void);
*/
#define IP30_POWER_IRQ HEART_L2_INT_POWER_BTN
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#define IP30_HEART_L0_IRQ (MIPS_CPU_IRQ_BASE + 2)
#define IP30_HEART_L1_IRQ (MIPS_CPU_IRQ_BASE + 3)
......
......@@ -11,6 +11,6 @@
#define NR_IRQS 328
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif
......@@ -11,6 +11,6 @@
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif
......@@ -9,6 +9,6 @@
#define NR_IRQS 24
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* _ASM_MACH_LASAT_IRQ_H */
......@@ -36,5 +36,5 @@
extern void fixup_irqs(void);
extern void loongson3_ipi_interrupt(struct pt_regs *regs);
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */
......@@ -5,6 +5,6 @@
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_MIPS_IRQ_H */
......@@ -9,6 +9,6 @@
#define NR_IRQS 256
#define MIPS_CPU_IRQ_BASE 0
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_PIC32_IRQ_H */
......@@ -10,6 +10,6 @@
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_PISTACHIO_IRQ_H */
......@@ -5,6 +5,6 @@
#define GIC_NUM_INTRS 64
#define NR_IRQS 256
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif
......@@ -16,6 +16,6 @@
#define mc146818_decode_year(year) ((year) + 1980)
#endif
#include_next <mc146818rtc.h>
#include <asm/mach-generic/mc146818rtc.h>
#endif /* __ASM_MACH_RM_MC146818RTC_H */
......@@ -4,6 +4,6 @@
#include <asm/vr41xx/irq.h> /* for MIPS_CPU_IRQ_BASE */
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __ASM_MACH_VR41XX_IRQ_H */
......@@ -9,6 +9,6 @@
#define NR_IRQS 32
#include_next <irq.h>
#include <asm/mach-generic/irq.h>
#endif /* __MIPS_ASM_MACH_XILFPGA_IRQ_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment