Skip to content

Commit 863be3c

Browse files
bibo-maotsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: bibo mao <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent e585b76 commit 863be3c

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

arch/mips/include/asm/mach-ar7/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
#define NR_IRQS 256
1313

14-
#include_next <irq.h>
14+
#include <asm/mach-generic/irq.h>
1515

1616
#endif /* __ASM_AR7_IRQ_H */

arch/mips/include/asm/mach-ath79/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
#define ATH79_IP3_IRQ_COUNT 3
2828
#define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x))
2929

30-
#include_next <irq.h>
30+
#include <asm/mach-generic/irq.h>
3131

3232
#endif /* __ASM_MACH_ATH79_IRQ_H */

arch/mips/include/asm/mach-emma2rh/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010

1111
#define NR_IRQS 256
1212

13-
#include_next <irq.h>
13+
#include <asm/mach-generic/irq.h>
1414

1515
#endif /* __ASM_MACH_EMMA2RH_IRQ_H */

arch/mips/include/asm/mach-ip27/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#define NR_IRQS 256
1414

15-
#include_next <irq.h>
15+
#include <asm/mach-generic/irq.h>
1616

1717
#define IP27_HUB_PEND0_IRQ (MIPS_CPU_IRQ_BASE + 2)
1818
#define IP27_HUB_PEND1_IRQ (MIPS_CPU_IRQ_BASE + 3)

arch/mips/include/asm/mach-ip30/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ extern void __init ip30_install_ipi(void);
7676
*/
7777
#define IP30_POWER_IRQ HEART_L2_INT_POWER_BTN
7878

79-
#include_next <irq.h>
79+
#include <asm/mach-generic/irq.h>
8080

8181
#define IP30_HEART_L0_IRQ (MIPS_CPU_IRQ_BASE + 2)
8282
#define IP30_HEART_L1_IRQ (MIPS_CPU_IRQ_BASE + 3)

arch/mips/include/asm/mach-lantiq/falcon/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
#define NR_IRQS 328
1313

14-
#include_next <irq.h>
14+
#include <asm/mach-generic/irq.h>
1515

1616
#endif

arch/mips/include/asm/mach-lantiq/xway/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
#define NR_IRQS 256
1313

14-
#include_next <irq.h>
14+
#include <asm/mach-generic/irq.h>
1515

1616
#endif

arch/mips/include/asm/mach-lasat/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define NR_IRQS 24
1111

12-
#include_next <irq.h>
12+
#include <asm/mach-generic/irq.h>
1313

1414
#endif /* _ASM_MACH_LASAT_IRQ_H */

arch/mips/include/asm/mach-loongson64/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
extern void fixup_irqs(void);
3737
extern void loongson3_ipi_interrupt(struct pt_regs *regs);
3838

39-
#include_next <irq.h>
39+
#include <asm/mach-generic/irq.h>
4040
#endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */

arch/mips/include/asm/mach-malta/irq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
#define NR_IRQS 256
77

8-
#include_next <irq.h>
8+
#include <asm/mach-generic/irq.h>
99

1010
#endif /* __ASM_MACH_MIPS_IRQ_H */

0 commit comments

Comments
 (0)