]> err.no Git - linux-2.6/commitdiff
[POWERPC] Clean out a bunch of duplicate includes
authorJesper Juhl <jesper.juhl@gmail.com>
Sun, 29 Jul 2007 22:18:25 +0000 (08:18 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:51 +0000 (11:01 +1000)
This removes several duplicate includes from arch/powerpc/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 files changed:
arch/powerpc/kernel/btext.c
arch/powerpc/kernel/crash.c
arch/powerpc/kernel/iommu.c
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/time.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/mm/init_32.c
arch/powerpc/mm/mem.c
arch/powerpc/platforms/52xx/mpc52xx_pic.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/chrp/smp.c
arch/powerpc/platforms/iseries/setup.c
arch/powerpc/platforms/powermac/low_i2c.c
arch/powerpc/platforms/powermac/udbg_adb.c
arch/powerpc/platforms/pseries/lpar.c

index e7b684689e0479336b8670835a7bb69421415089..3ef51fb6f107a57d3ca82f4c18ddfd84f689ce3a 100644 (file)
@@ -11,7 +11,6 @@
 #include <asm/sections.h>
 #include <asm/prom.h>
 #include <asm/btext.h>
-#include <asm/prom.h>
 #include <asm/page.h>
 #include <asm/mmu.h>
 #include <asm/pgtable.h>
index 37658ea417fa923b280ef92858209a303b85bb73..77c749a1337818190d56d9bbf04dcf36864951b8 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/types.h>
-#include <linux/irq.h>
 
 #include <asm/processor.h>
 #include <asm/machdep.h>
index c08ceca6277d0ef816e7760957615d5b3b91bdda..e4ec6eee81a810d90c45faf22aa154b20f1c63a1 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/spinlock.h>
 #include <linux/string.h>
 #include <linux/dma-mapping.h>
-#include <linux/init.h>
 #include <linux/bitops.h>
 #include <asm/io.h>
 #include <asm/prom.h>
index a38197b12d3e991a22dd06850911cecdd1869cce..0028fe68e09e8379895a4b32e62686667d15cfa7 100644 (file)
@@ -52,7 +52,6 @@
 #include <asm/pSeries_reconfig.h>
 #include <asm/pci-bridge.h>
 #include <asm/kexec.h>
-#include <asm/system.h>
 
 #ifdef DEBUG
 #define DBG(fmt...) printk(KERN_ERR fmt)
index 727a6699f2f41c36ffaac9a205a1aaf3405ec554..c85d9b0d90420c53927b5b8e622a32ce146bf4e5 100644 (file)
@@ -72,7 +72,6 @@
 #include <asm/iseries/it_lp_queue.h>
 #include <asm/iseries/hv_call_xm.h>
 #endif
-#include <asm/smp.h>
 
 /* keep track of when we need to update the rtc */
 time_t last_rtc_update;
index a47151e806cae072c1836b49f4c3c8630a4c2bd0..c74af42eb9c1e87c3e2610193c480ab095b4b1c1 100644 (file)
@@ -49,7 +49,6 @@
 #include <asm/tlb.h>
 #include <asm/cacheflush.h>
 #include <asm/cputable.h>
-#include <asm/abs_addr.h>
 #include <asm/sections.h>
 #include <asm/spu.h>
 
index 4835f73af3044b7b57d6451cfc7c777a3806f1eb..ba5f12a604672dd58b15b0ea10a0792d7d6b8670 100644 (file)
 #include <asm/mmu_context.h>
 #include <asm/machdep.h>
 #include <asm/cputable.h>
-#include <asm/tlb.h>
 #include <asm/spu.h>
 
-#include <linux/sysctl.h>
-
 #define NUM_LOW_AREAS  (0x100000000UL >> SID_SHIFT)
 #define NUM_HIGH_AREAS (PGTABLE_RANGE >> HTLB_AREA_SHIFT)
 
index e1f5ded851f6ed08c40ff892af4423d7af4b7fa2..d65995ae827320d71c839c4ffd521bcba4c5072d 100644 (file)
@@ -41,7 +41,6 @@
 #include <asm/machdep.h>
 #include <asm/btext.h>
 #include <asm/tlb.h>
-#include <asm/prom.h>
 #include <asm/lmb.h>
 #include <asm/sections.h>
 
index f0e7eedb1ba36677fe0d1d74d2d3c1dd6bf617b2..32dcfc9b00827f0a6a0bbf90f77dfc6c75948aca 100644 (file)
@@ -42,7 +42,6 @@
 #include <asm/machdep.h>
 #include <asm/btext.h>
 #include <asm/tlb.h>
-#include <asm/prom.h>
 #include <asm/lmb.h>
 #include <asm/sections.h>
 #include <asm/vdso.h>
index fbfff95b4437e9b92113c9f9929d123fe8ad6291..8c464c55b5d01db063b460091c0130775ca31ad5 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/signal.h>
-#include <linux/stddef.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
 #include <linux/hardirq.h>
index 373de4c063db98638281b388dc44d9401310baf8..dde5ef4dde35ddbc2200a7fe86ebcc9c361423f8 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/seq_file.h>
 #include <linux/root_dev.h>
 #include <linux/initrd.h>
-#include <linux/module.h>
 #include <linux/timer.h>
 
 #include <asm/io.h>
index 3ea0eb78568ed274fb590e33a07897e4a2289b45..a137d13008bc2613e04d397415fca7892e09a7df 100644 (file)
@@ -29,7 +29,6 @@
 #include <asm/residual.h>
 #include <asm/time.h>
 #include <asm/machdep.h>
-#include <asm/smp.h>
 #include <asm/mpic.h>
 #include <asm/rtas.h>
 
index 13a8b1908deda3c4c733003fd649701eba0c7cce..fad493e29d375584fc33f12d6bd41ab5e5e041ec 100644 (file)
@@ -41,7 +41,6 @@
 #include <asm/time.h>
 #include <asm/paca.h>
 #include <asm/cache.h>
-#include <asm/sections.h>
 #include <asm/abs_addr.h>
 #include <asm/iseries/hv_lp_config.h>
 #include <asm/iseries/hv_call_event.h>
index efdf5eb81ecc79790f4cb72946bdb0c345814883..da2007e3db0e982c78431f38d8d07b44bef82afb 100644 (file)
@@ -40,7 +40,6 @@
 #include <linux/completion.h>
 #include <linux/platform_device.h>
 #include <linux/interrupt.h>
-#include <linux/completion.h>
 #include <linux/timer.h>
 #include <linux/mutex.h>
 #include <asm/keylargo.h>
index 6124e59e1038153e66ba3b4c5fe770c095dd3acf..b1882e40525acd76dc6d3905bca18a8e01669cb1 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/xmon.h>
 #include <asm/prom.h>
 #include <asm/bootx.h>
-#include <asm/machdep.h>
 #include <asm/errno.h>
 #include <asm/pmac_feature.h>
 #include <asm/processor.h>
index 8cc6eeeaae2f1649368fdac4ba7eebf9c1227e05..ea327ca345c65fe714555fa00655fbbb96bff74a 100644 (file)
@@ -35,7 +35,6 @@
 #include <asm/tlbflush.h>
 #include <asm/tlb.h>
 #include <asm/prom.h>
-#include <asm/abs_addr.h>
 #include <asm/cputable.h>
 #include <asm/udbg.h>
 #include <asm/smp.h>