Commit 9dc69230 authored by David S. Miller's avatar David S. Miller

sparc: Kill now spurious includes of sbus.h

In order to make this week I also had to add an include
of linux/dma-mapping.h to asm/pci_32.h because drivers/pci/pci.c
really depends upon getting this header somehow.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0ad626a2
...@@ -91,8 +91,6 @@ extern int isa_dma_bridge_buggy; ...@@ -91,8 +91,6 @@ extern int isa_dma_bridge_buggy;
#ifdef CONFIG_SPARC32 #ifdef CONFIG_SPARC32
#include <asm/sbus.h>
/* Routines for data transfer buffers. */ /* Routines for data transfer buffers. */
BTFIXUPDEF_CALL(char *, mmu_lockarea, char *, unsigned long) BTFIXUPDEF_CALL(char *, mmu_lockarea, char *, unsigned long)
BTFIXUPDEF_CALL(void, mmu_unlockarea, char *, unsigned long) BTFIXUPDEF_CALL(void, mmu_unlockarea, char *, unsigned long)
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/dma-mapping.h>
/* Can be used to override the logic in pci_scan_bus for skipping /* Can be used to override the logic in pci_scan_bus for skipping
* already-configured bus numbers - to be used for buggy BIOSes * already-configured bus numbers - to be used for buggy BIOSes
* or architectures with incomplete PCI setup by the loader. * or architectures with incomplete PCI setup by the loader.
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <asm/vaddrs.h> #include <asm/vaddrs.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/sbus.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/dma.h> #include <asm/dma.h>
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <asm/ebus.h> #include <asm/ebus.h>
#include <asm/sbus.h> /* for sanity check... */
#include <asm/swift.h> /* for cache flushing. */ #include <asm/swift.h> /* for cache flushing. */
#include <asm/io.h> #include <asm/io.h>
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/checksum.h> #include <asm/checksum.h>
#ifdef CONFIG_SBUS #ifdef CONFIG_SBUS
#include <asm/sbus.h>
#include <asm/dma.h> #include <asm/dma.h>
#endif #endif
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/sbus.h>
#include <asm/sbi.h> #include <asm/sbi.h>
#include <asm/tlbflush.h> #include <asm/tlbflush.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
......
...@@ -12,10 +12,11 @@ ...@@ -12,10 +12,11 @@
#include <linux/highmem.h> /* pte_offset_map => kmap_atomic */ #include <linux/highmem.h> /* pte_offset_map => kmap_atomic */
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/sbus.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/io-unit.h> #include <asm/io-unit.h>
#include <asm/mxcc.h> #include <asm/mxcc.h>
......
...@@ -13,10 +13,11 @@ ...@@ -13,10 +13,11 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/highmem.h> /* pte_offset_map => kmap_atomic */ #include <linux/highmem.h> /* pte_offset_map => kmap_atomic */
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/sbus.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/mxcc.h> #include <asm/mxcc.h>
#include <asm/mbus.h> #include <asm/mbus.h>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/mbus.h> #include <asm/mbus.h>
#include <asm/sbus.h>
static char shouldnothappen[] __initdata = "SUN4 kernel can only run on SUN4\n"; static char shouldnothappen[] __initdata = "SUN4 kernel can only run on SUN4\n";
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <asm/mbus.h> #include <asm/mbus.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/sbus.h>
#include <asm/asi.h> #include <asm/asi.h>
#include <asm/msi.h> #include <asm/msi.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <asm/openprom.h> #include <asm/openprom.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/types.h> #include <asm/types.h>
#include <asm/sbus.h>
#include <asm/system.h> #include <asm/system.h>
struct linux_prom_ranges promlib_obio_ranges[PROMREG_MAX]; struct linux_prom_ranges promlib_obio_ranges[PROMREG_MAX];
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <asm/system.h> #include <asm/system.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/sbus.h>
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/upa.h> #include <asm/upa.h>
#include <asm/oplib.h> #include <asm/oplib.h>
......
...@@ -11,15 +11,17 @@ ...@@ -11,15 +11,17 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/sbus.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/upa.h> #include <asm/upa.h>
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/dma.h> #include <asm/dma.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/prom.h> #include <asm/prom.h>
#include <asm/oplib.h>
#include <asm/starfire.h> #include <asm/starfire.h>
#include "iommu_common.h" #include "iommu_common.h"
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include <asm/pgalloc.h> #include <asm/pgalloc.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#ifdef CONFIG_SBUS #ifdef CONFIG_SBUS
#include <asm/sbus.h>
#include <asm/dma.h> #include <asm/dma.h>
#endif #endif
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
......
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