]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Remove old includes from arch/ppc
authorKumar Gala <galak@kernel.crashing.org>
Fri, 17 Aug 2007 06:47:39 +0000 (01:47 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 23 Aug 2007 03:39:35 +0000 (22:39 -0500)
Remove includes of files that existed in arch/ppc that we dont need in
arch/powerpc anymore.  The following includes were removed:

 <asm/amigappc.h>
 <asm/bootinfo.h>
 <asm/ppcboot.h>
 <asm/ppc_sys.h>
 <asm/residual.h>
 <asm/m8260_pci.h>

This also caused platforms/embedded6xx/mpc7448_hpc2.h to no longer be
needed and thus removed.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
23 files changed:
arch/powerpc/kernel/setup_32.c
arch/powerpc/platforms/52xx/lite5200.c
arch/powerpc/platforms/82xx/m82xx_pci.h
arch/powerpc/platforms/82xx/mpc82xx.c
arch/powerpc/platforms/82xx/mpc82xx_ads.c
arch/powerpc/platforms/82xx/pq2ads.h
arch/powerpc/platforms/83xx/mpc832x_mds.c
arch/powerpc/platforms/83xx/mpc834x_itx.c
arch/powerpc/platforms/83xx/mpc834x_mds.c
arch/powerpc/platforms/83xx/mpc836x_mds.c
arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/platforms/85xx/mpc85xx_mds.c
arch/powerpc/platforms/8xx/m8xx_setup.c
arch/powerpc/platforms/8xx/mpc86xads.h
arch/powerpc/platforms/8xx/mpc86xads_setup.c
arch/powerpc/platforms/8xx/mpc885ads.h
arch/powerpc/platforms/8xx/mpc885ads_setup.c
arch/powerpc/platforms/chrp/smp.c
arch/powerpc/platforms/embedded6xx/ls_uart.c
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.h [deleted file]
arch/powerpc/platforms/powermac/bootx_init.c
drivers/macintosh/adb-iop.c

index 7ec6ba56d83dfcb40385f954b72b6ce40ae30475..a288a5f2dbc600408cb1db9f7c8789ca9a1b080c 100644 (file)
 #include <linux/cpu.h>
 #include <linux/console.h>
 
-#include <asm/residual.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/processor.h>
 #include <asm/pgtable.h>
 #include <asm/setup.h>
-#include <asm/amigappc.h>
 #include <asm/smp.h>
 #include <asm/elf.h>
 #include <asm/cputable.h>
index 84bd3da43afd6b5542ed7a98a070d9ee4d7d0759..ce3f6951828eea16e4450e4d1c42945125a6f33e 100644 (file)
@@ -35,7 +35,6 @@
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
index 9cd8893b5a32e0263f1d03d5eb35d1c6b1dfdf0e..65e38a7ff48f878fb28ab2c76634dc16cf2326b5 100644 (file)
@@ -8,8 +8,6 @@
  * 2 of the License, or (at your option) any later version.
  */
 
-#include <asm/m8260_pci.h>
-
 #define SIU_INT_IRQ1   ((uint)0x13 + CPM_IRQ_OFFSET)
 
 #ifndef _IO_BASE
index cc9900d2e5eeecd364854646257de8d2d73f3047..c706871aec1a69c5ab66353b5a11026269bd405d 100644 (file)
@@ -36,7 +36,6 @@
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc8260.h>
 #include <asm/irq.h>
index 2d1b05b9f8efa97e3326e4fe465d0eacb49f795d..c0a0c56ac5b3a3ef6850148d98260ef87350383b 100644 (file)
@@ -37,7 +37,6 @@
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc8260.h>
 #include <asm/irq.h>
index 5b5cca6c8c8804d6e847a8b2a0995a9bb1b68d4a..6f749b76dd8ffc3a0e77653fe3e4674b5a4ef56a 100644 (file)
@@ -23,7 +23,6 @@
 #define __MACH_ADS8260_DEFS
 
 #include <linux/seq_file.h>
-#include <asm/ppcboot.h>
 
 /* For our show_cpuinfo hooks. */
 #define CPUINFO_VENDOR         "Freescale Semiconductor"
index 2c8e641a739b5ac4ef3f66a0f2f48025d27332eb..61e3f1cb0a7e0313d5b54ed7a46fb441e0b0bce2 100644 (file)
@@ -32,7 +32,6 @@
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
index 47ba5446f63c8f6c4b54b88f631169072517b93b..6d06645e5ba81d2916c1be146944179cf631ad41 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
index 4c9ff9cadfe4f6d244ae3e897955bc9be579e95c..f8aba9a488bce5a46f233cb1976f4afd66fa837b 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
index 84b58934aafde7580cc15a118d333ec8efbfd3e1..69970b910c120c02658d04c90c94456e10f42430 100644 (file)
@@ -38,7 +38,6 @@
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
index 6a171e9abf7deef57664c0e338292cfb9432af3b..04023347238586833ae8b8da2e71ba532b40fd57 100644 (file)
@@ -35,7 +35,6 @@
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc85xx.h>
 #include <asm/irq.h>
index be25ecd911ba05263060d86c7751822c6d8bbf4e..53830c9a88fda0b06f9018ea4851c26f3b03de74 100644 (file)
@@ -38,7 +38,6 @@
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc85xx.h>
 #include <asm/irq.h>
index 601b389b570be70135fd30d073ea29ffa6821546..b2b98dd8be6a09b3c667fc66610652ee656f5f6d 100644 (file)
 
 #include <asm/mmu.h>
 #include <asm/reg.h>
-#include <asm/residual.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/mpc8xx.h>
 #include <asm/8xx_immap.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/time.h>
 #include <asm/prom.h>
 #include <asm/fs_pd.h>
@@ -55,7 +53,9 @@ struct mpc8xx_pcmcia_ops m8xx_pcmcia_ops;
 #endif
 
 void m8xx_calibrate_decr(void);
+#ifdef CONFIG_8xx_WDT
 extern void m8xx_wdt_handler_install(bd_t *bp);
+#endif
 extern int cpm_pic_init(void);
 extern int cpm_get_irq(void);
 
index 59bad2f9ae51a22861157b8da92ea0f5a2fb0822..dd10cd20b6a7d8295e8dfa0ed0751e9ce5554ae3 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef __ASM_MPC86XADS_H__
 #define __ASM_MPC86XADS_H__
 
-#include <asm/ppcboot.h>
 #include <sysdev/fsl_soc.h>
 
 /* U-Boot maps BCSR to 0xff080000 */
index d881647e99231c1984b94b8c6d0b81405e4c7cff..8f64f48698aba7c559551bcc1444a2b3227cb806 100644 (file)
@@ -31,7 +31,6 @@
 #include <asm/processor.h>
 #include <asm/system.h>
 #include <asm/time.h>
-#include <asm/ppcboot.h>
 #include <asm/mpc8xx.h>
 #include <asm/8xx_immap.h>
 #include <asm/commproc.h>
index 7c31aec284c26cb575bc2a455f5007a1e37de7f7..14db1241706423038589e4fa47627954e79a298c 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef __ASM_MPC885ADS_H__
 #define __ASM_MPC885ADS_H__
 
-#include <asm/ppcboot.h>
 #include <sysdev/fsl_soc.h>
 
 /* U-Boot maps BCSR to 0xff080000 */
index bd5ff7a892e0e2d41b031e3aed38625057d6424e..d3da38586b04c2afb3d8f7d1221f0821273e2bd0 100644 (file)
@@ -32,7 +32,6 @@
 #include <asm/processor.h>
 #include <asm/system.h>
 #include <asm/time.h>
-#include <asm/ppcboot.h>
 #include <asm/mpc8xx.h>
 #include <asm/8xx_immap.h>
 #include <asm/commproc.h>
index a137d13008bc2613e04d397415fca7892e09a7df..10a4a4d063b6411b04db150f4bd00980aa67a6ee 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/smp.h>
-#include <asm/residual.h>
 #include <asm/time.h>
 #include <asm/machdep.h>
 #include <asm/mpic.h>
index d0bee9f19e4e8659140c75b0ad215baa50cac2ef..f7a4def5eff47e10f46021c4645f0162a1d1d828 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/serial_8250.h>
 #include <asm/io.h>
 #include <asm/mpc10x.h>
-#include <asm/ppc_sys.h>
 #include <asm/prom.h>
 #include <asm/termbits.h>
 
index 25c29bc94988c551478cb8fad58e4b0216febff3..96737e5608d3e90670f6d3565dde3fc85cc082d8 100644 (file)
@@ -40,7 +40,6 @@
 #include <asm/pci-bridge.h>
 #include <asm/reg.h>
 #include <mm/mmu_decl.h>
-#include "mpc7448_hpc2.h"
 #include <asm/tsi108_pci.h>
 #include <asm/tsi108_irq.h>
 #include <asm/mpic.h>
diff --git a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.h b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.h
deleted file mode 100644 (file)
index f7e0e0c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * mpc7448_hpc2.h
- *
- * Definitions for Freescale MPC7448_HPC2 platform
- *
- * Author: Jacob Pan
- *         jacob.pan@freescale.com
- * Maintainer: Roy Zang <roy.zang@freescale.com>
- *
- * 2006 (c) Freescale Semiconductor, Inc.  This file is licensed under
- * the terms of the GNU General Public License version 2.  This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
- */
-
-#ifndef __PPC_PLATFORMS_MPC7448_HPC2_H
-#define __PPC_PLATFORMS_MPC7448_HPC2_H
-
-#include <asm/ppcboot.h>
-
-#endif                         /* __PPC_PLATFORMS_MPC7448_HPC2_H */
index 9d73d0234c5d3228cf0bd87a59d91ef83441aaef..cf660916ae0b0101ac36824fd3a2db8fd3e13997 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/prom.h>
 #include <asm/page.h>
 #include <asm/bootx.h>
-#include <asm/bootinfo.h>
 #include <asm/btext.h>
 #include <asm/io.h>
 
index 17ef5d3c01b45cb1c581eec128c5ff901ce53eb1..444696625171e42a6948eb858299a8a489626510 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/init.h>
 #include <linux/proc_fs.h>
 
-#include <asm/bootinfo.h> 
 #include <asm/macintosh.h> 
 #include <asm/macints.h> 
 #include <asm/mac_iop.h>