Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: David S. Miller <davem@davemloft.net>

+9 -14
-2
arch/sparc/include/asm/dma.h
··· 91 91 92 92 #ifdef CONFIG_SPARC32 93 93 94 - #include <asm/sbus.h> 95 - 96 94 /* Routines for data transfer buffers. */ 97 95 BTFIXUPDEF_CALL(char *, mmu_lockarea, char *, unsigned long) 98 96 BTFIXUPDEF_CALL(void, mmu_unlockarea, char *, unsigned long)
+2
arch/sparc/include/asm/pci_32.h
··· 3 3 4 4 #ifdef __KERNEL__ 5 5 6 + #include <linux/dma-mapping.h> 7 + 6 8 /* Can be used to override the logic in pci_scan_bus for skipping 7 9 * already-configured bus numbers - to be used for buggy BIOSes 8 10 * or architectures with incomplete PCI setup by the loader.
-1
arch/sparc/kernel/ioport.c
··· 42 42 #include <asm/vaddrs.h> 43 43 #include <asm/oplib.h> 44 44 #include <asm/prom.h> 45 - #include <asm/sbus.h> 46 45 #include <asm/page.h> 47 46 #include <asm/pgalloc.h> 48 47 #include <asm/dma.h>
-1
arch/sparc/kernel/pcic.c
··· 18 18 #include <linux/jiffies.h> 19 19 20 20 #include <asm/ebus.h> 21 - #include <asm/sbus.h> /* for sanity check... */ 22 21 #include <asm/swift.h> /* for cache flushing. */ 23 22 #include <asm/io.h> 24 23
-1
arch/sparc/kernel/sparc_ksyms.c
··· 43 43 #include <asm/uaccess.h> 44 44 #include <asm/checksum.h> 45 45 #ifdef CONFIG_SBUS 46 - #include <asm/sbus.h> 47 46 #include <asm/dma.h> 48 47 #endif 49 48 #ifdef CONFIG_PCI
-1
arch/sparc/kernel/sun4d_smp.c
··· 30 30 #include <asm/pgalloc.h> 31 31 #include <asm/pgtable.h> 32 32 #include <asm/oplib.h> 33 - #include <asm/sbus.h> 34 33 #include <asm/sbi.h> 35 34 #include <asm/tlbflush.h> 36 35 #include <asm/cacheflush.h>
+2 -1
arch/sparc/mm/io-unit.c
··· 12 12 #include <linux/highmem.h> /* pte_offset_map => kmap_atomic */ 13 13 #include <linux/bitops.h> 14 14 #include <linux/scatterlist.h> 15 + #include <linux/of.h> 16 + #include <linux/of_device.h> 15 17 16 18 #include <asm/pgalloc.h> 17 19 #include <asm/pgtable.h> 18 - #include <asm/sbus.h> 19 20 #include <asm/io.h> 20 21 #include <asm/io-unit.h> 21 22 #include <asm/mxcc.h>
+2 -1
arch/sparc/mm/iommu.c
··· 13 13 #include <linux/slab.h> 14 14 #include <linux/highmem.h> /* pte_offset_map => kmap_atomic */ 15 15 #include <linux/scatterlist.h> 16 + #include <linux/of.h> 17 + #include <linux/of_device.h> 16 18 17 19 #include <asm/pgalloc.h> 18 20 #include <asm/pgtable.h> 19 - #include <asm/sbus.h> 20 21 #include <asm/io.h> 21 22 #include <asm/mxcc.h> 22 23 #include <asm/mbus.h>
-1
arch/sparc/mm/nosrmmu.c
··· 9 9 #include <linux/mm.h> 10 10 #include <linux/init.h> 11 11 #include <asm/mbus.h> 12 - #include <asm/sbus.h> 13 12 14 13 static char shouldnothappen[] __initdata = "SUN4 kernel can only run on SUN4\n"; 15 14
-1
arch/sparc/mm/srmmu.c
··· 31 31 #include <asm/mbus.h> 32 32 #include <asm/cache.h> 33 33 #include <asm/oplib.h> 34 - #include <asm/sbus.h> 35 34 #include <asm/asi.h> 36 35 #include <asm/msi.h> 37 36 #include <asm/mmu_context.h>
-1
arch/sparc/prom/ranges.c
··· 9 9 #include <asm/openprom.h> 10 10 #include <asm/oplib.h> 11 11 #include <asm/types.h> 12 - #include <asm/sbus.h> 13 12 #include <asm/system.h> 14 13 15 14 struct linux_prom_ranges promlib_obio_ranges[PROMREG_MAX];
-1
arch/sparc64/kernel/irq.c
··· 28 28 #include <asm/system.h> 29 29 #include <asm/irq.h> 30 30 #include <asm/io.h> 31 - #include <asm/sbus.h> 32 31 #include <asm/iommu.h> 33 32 #include <asm/upa.h> 34 33 #include <asm/oplib.h>
+3 -1
arch/sparc64/kernel/sbus.c
··· 11 11 #include <linux/slab.h> 12 12 #include <linux/init.h> 13 13 #include <linux/interrupt.h> 14 + #include <linux/of.h> 15 + #include <linux/of_device.h> 14 16 15 17 #include <asm/page.h> 16 - #include <asm/sbus.h> 17 18 #include <asm/io.h> 18 19 #include <asm/upa.h> 19 20 #include <asm/cache.h> 20 21 #include <asm/dma.h> 21 22 #include <asm/irq.h> 22 23 #include <asm/prom.h> 24 + #include <asm/oplib.h> 23 25 #include <asm/starfire.h> 24 26 25 27 #include "iommu_common.h"
-1
arch/sparc64/kernel/sparc64_ksyms.c
··· 44 44 #include <asm/pgalloc.h> 45 45 #include <asm/cacheflush.h> 46 46 #ifdef CONFIG_SBUS 47 - #include <asm/sbus.h> 48 47 #include <asm/dma.h> 49 48 #endif 50 49 #ifdef CONFIG_PCI