Commit 113fe88e authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc: Don't include asm/setup.h in asm/machdep.h

asm/machdep.h doesn't need asm/setup.h

Remove it.

Add it directly in files that needs it.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3b1dfb19a2c3265fb4abc2bfc7b6eae9261a998b.1654966508.git.christophe.leroy@csgroup.eu
parent b13baccc
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/export.h> #include <linux/export.h>
#include <asm/setup.h>
struct pt_regs; struct pt_regs;
struct pci_bus; struct pci_bus;
struct device_node; struct device_node;
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/ppc-pci.h> #include <asm/ppc-pci.h>
#include <asm/eeh.h> #include <asm/eeh.h>
#include <asm/setup.h>
#include "../../../drivers/pci/pci.h" #include "../../../drivers/pci/pci.h"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/btext.h> #include <asm/btext.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/machdep.h> #include <asm/setup.h>
#include <asm/pci-bridge.h> #include <asm/pci-bridge.h>
#include <asm/kexec.h> #include <asm/kexec.h>
#include <asm/opal.h> #include <asm/opal.h>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/btext.h> #include <asm/btext.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/machdep.h> #include <asm/setup.h>
#include <asm/asm-prototypes.h> #include <asm/asm-prototypes.h>
#include <asm/ultravisor-api.h> #include <asm/ultravisor-api.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/setup.h>
void machine_kexec_mask_interrupts(void) { void machine_kexec_mask_interrupts(void) {
unsigned int i; unsigned int i;
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <asm/plpar_wrappers.h> #include <asm/plpar_wrappers.h>
#endif #endif
#include <asm/ultravisor.h> #include <asm/ultravisor.h>
#include <asm/setup.h>
#include "timing.h" #include "timing.h"
#include "irq.h" #include "irq.h"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <asm/mmzone.h> #include <asm/mmzone.h>
#include <asm/ftrace.h> #include <asm/ftrace.h>
#include <asm/code-patching.h> #include <asm/code-patching.h>
#include <asm/setup.h>
#include <mm/mmu_decl.h> #include <mm/mmu_decl.h>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <asm/machdep.h> #include <asm/setup.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/firmware.h> #include <asm/firmware.h>
#include <asm/kexec.h> #include <asm/kexec.h>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/mmu.h> #include <asm/mmu.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/machdep.h> #include <asm/setup.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/tlb.h> #include <asm/tlb.h>
......
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
#include <asm/svm.h> #include <asm/svm.h>
#include <asm/dtl.h> #include <asm/dtl.h>
#include <asm/hvconsole.h> #include <asm/hvconsole.h>
#include <asm/setup.h>
#include "pseries.h" #include "pseries.h"
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <asm/disassemble.h> #include <asm/disassemble.h>
#include <asm/ppc-opcode.h> #include <asm/ppc-opcode.h>
#include <asm/swiotlb.h> #include <asm/swiotlb.h>
#include <asm/setup.h>
#include <sysdev/fsl_soc.h> #include <sysdev/fsl_soc.h>
#include <sysdev/fsl_pci.h> #include <sysdev/fsl_pci.h>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/hydra.h> #include <asm/hydra.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/machdep.h> #include <asm/setup.h>
#include <asm/pmac_feature.h> #include <asm/pmac_feature.h>
#include <asm/macio.h> #include <asm/macio.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