]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
MIPS: Add header files reference with path prefix
authorbibo mao <maobibo@loongson.cn>
Tue, 17 Mar 2020 06:03:14 +0000 (02:03 -0400)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 19 Mar 2020 12:12:27 +0000 (13:12 +0100)
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>
16 files changed:
arch/mips/include/asm/mach-ar7/irq.h
arch/mips/include/asm/mach-ath79/irq.h
arch/mips/include/asm/mach-emma2rh/irq.h
arch/mips/include/asm/mach-ip27/irq.h
arch/mips/include/asm/mach-ip30/irq.h
arch/mips/include/asm/mach-lantiq/falcon/irq.h
arch/mips/include/asm/mach-lantiq/xway/irq.h
arch/mips/include/asm/mach-lasat/irq.h
arch/mips/include/asm/mach-loongson64/irq.h
arch/mips/include/asm/mach-malta/irq.h
arch/mips/include/asm/mach-pic32/irq.h
arch/mips/include/asm/mach-pistachio/irq.h
arch/mips/include/asm/mach-ralink/irq.h
arch/mips/include/asm/mach-rm/mc146818rtc.h
arch/mips/include/asm/mach-vr41xx/irq.h
arch/mips/include/asm/mach-xilfpga/irq.h

index 7ad10e379e2b51420868e546f3c3dc0fa86845c1..46bb730ea970c65e6d9dc40be39d5d5b1bf5fad3 100644 (file)
@@ -11,6 +11,6 @@
 
 #define NR_IRQS 256
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif /* __ASM_AR7_IRQ_H */
index 2df1abf9e5af3981d120c036bb23e05ac871d527..882534be07153c2c045546e8769d928eedcb0a4a 100644 (file)
@@ -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 */
index 2f7155dade292f918f6097cb4482ea7ca3cdad09..d32736736bb383ed1d21fd8b499c93e36652d2ac 100644 (file)
@@ -10,6 +10,6 @@
 
 #define NR_IRQS 256
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif /* __ASM_MACH_EMMA2RH_IRQ_H */
index fd91c58aaf7dc6f94f6e611c84059d0237315e5d..f45d7999fd739bbde92221390cd115f49df8f82a 100644 (file)
@@ -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)
index e5c3dd96526665b3d5015fe2a54b19fb6a48a814..27ba899c95be993fdb01d20dead6891fc4c94f7f 100644 (file)
@@ -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)
index 91d2bc03c9faed5075f3de3fa5d4c312289605a0..c14312fb0574d86ca9f4012bf86b174559fdcc11 100644 (file)
@@ -11,6 +11,6 @@
 
 #define NR_IRQS 328
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif
index 76ebbf6c50efa914285d09c914774112578e786b..2980e7771f836afae2d8572f2737e96ad281b162 100644 (file)
@@ -11,6 +11,6 @@
 
 #define NR_IRQS 256
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif
index d79cbe075084c8912975fab87c0aa4ee50dddf5f..e8994921779e1887106c6b1f3984aa021336fed4 100644 (file)
@@ -9,6 +9,6 @@
 
 #define NR_IRQS                        24
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif /* _ASM_MACH_LASAT_IRQ_H */
index 73a89913dc38892f151e725dc63306b3b448fbc0..0d3955616e425fad8625b7c34938b71f235aab7c 100644 (file)
@@ -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_ */
index af9eeea250ed7c414b4357948a1452885f283107..e1bd4298b606b22c101eb28c45e766a454909491 100644 (file)
@@ -5,6 +5,6 @@
 
 #define NR_IRQS 256
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif /* __ASM_MACH_MIPS_IRQ_H */
index d2396941ed2acafd40b491bd03e2f5106c710a80..ddaf999bc6506ff00e4fe9c5bbc36b5a47fd0520 100644 (file)
@@ -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 */
index 93bc380f9536aa681470fb414d959cb405abab59..74ac016503ad4698a9bcc790e01c32eb251be32c 100644 (file)
@@ -10,6 +10,6 @@
 
 #define NR_IRQS 256
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif /* __ASM_MACH_PISTACHIO_IRQ_H */
index 86473e3999aa45b079bb5093fcc4f350c66b528d..2262243d19c986cf9d0cdc8c43d7b300486808ee 100644 (file)
@@ -5,6 +5,6 @@
 #define GIC_NUM_INTRS  64
 #define NR_IRQS 256
 
-#include_next <irq.h>
+#include <asm/mach-generic/irq.h>
 
 #endif
index 145bce096fe9b036573bc0d930c8b8323a697a03..a074f4f84f75fa6d15b411a92c1b7dc6e4004361 100644 (file)
@@ -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 */
index 3d63afae37a852a36383cf96467c7603e44ae58c..4281b2b9344dfd4ca86eaa0c236a9a59b1ae17dd 100644 (file)
@@ -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 */
index b8e93fa8adcf7141fa97cef2e47e622c02260099..15ad29ec1dee45e23cb3597dfe0860e2b39f28a1 100644 (file)
@@ -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__ */