mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-12 05:48:39 +08:00
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: kbuild test robot <lkp@intel.com> Signed-off-by: bibo mao <maobibo@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
e585b768da
commit
863be3c3ab
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user