浏览代码

[POWERPC] Remove old includes from arch/ppc

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>
Kumar Gala 17 年之前
父节点
当前提交
ed16c20da6

+ 0 - 2
arch/powerpc/kernel/setup_32.c

@@ -18,13 +18,11 @@
 #include <linux/cpu.h>
 #include <linux/cpu.h>
 #include <linux/console.h>
 #include <linux/console.h>
 
 
-#include <asm/residual.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/processor.h>
 #include <asm/processor.h>
 #include <asm/pgtable.h>
 #include <asm/pgtable.h>
 #include <asm/setup.h>
 #include <asm/setup.h>
-#include <asm/amigappc.h>
 #include <asm/smp.h>
 #include <asm/smp.h>
 #include <asm/elf.h>
 #include <asm/elf.h>
 #include <asm/cputable.h>
 #include <asm/cputable.h>

+ 0 - 1
arch/powerpc/platforms/52xx/lite5200.c

@@ -35,7 +35,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/udbg.h>

+ 0 - 2
arch/powerpc/platforms/82xx/m82xx_pci.h

@@ -8,8 +8,6 @@
  * 2 of the License, or (at your option) any later version.
  * 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)
 #define SIU_INT_IRQ1   ((uint)0x13 + CPM_IRQ_OFFSET)
 
 
 #ifndef _IO_BASE
 #ifndef _IO_BASE

+ 0 - 1
arch/powerpc/platforms/82xx/mpc82xx.c

@@ -36,7 +36,6 @@
 #include <asm/time.h>
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc8260.h>
 #include <asm/mpc8260.h>
 #include <asm/irq.h>
 #include <asm/irq.h>

+ 0 - 1
arch/powerpc/platforms/82xx/mpc82xx_ads.c

@@ -37,7 +37,6 @@
 #include <asm/time.h>
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc8260.h>
 #include <asm/mpc8260.h>
 #include <asm/irq.h>
 #include <asm/irq.h>

+ 0 - 1
arch/powerpc/platforms/82xx/pq2ads.h

@@ -23,7 +23,6 @@
 #define __MACH_ADS8260_DEFS
 #define __MACH_ADS8260_DEFS
 
 
 #include <linux/seq_file.h>
 #include <linux/seq_file.h>
-#include <asm/ppcboot.h>
 
 
 /* For our show_cpuinfo hooks. */
 /* For our show_cpuinfo hooks. */
 #define CPUINFO_VENDOR		"Freescale Semiconductor"
 #define CPUINFO_VENDOR		"Freescale Semiconductor"

+ 0 - 1
arch/powerpc/platforms/83xx/mpc832x_mds.c

@@ -32,7 +32,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/udbg.h>

+ 0 - 1
arch/powerpc/platforms/83xx/mpc834x_itx.c

@@ -30,7 +30,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/udbg.h>

+ 0 - 1
arch/powerpc/platforms/83xx/mpc834x_mds.c

@@ -30,7 +30,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/udbg.h>

+ 0 - 1
arch/powerpc/platforms/83xx/mpc836x_mds.c

@@ -38,7 +38,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/irq.h>
 #include <asm/irq.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/udbg.h>
 #include <asm/udbg.h>

+ 0 - 1
arch/powerpc/platforms/85xx/mpc85xx_cds.c

@@ -35,7 +35,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/ipic.h>
 #include <asm/ipic.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc85xx.h>
 #include <asm/mpc85xx.h>
 #include <asm/irq.h>
 #include <asm/irq.h>

+ 0 - 1
arch/powerpc/platforms/85xx/mpc85xx_mds.c

@@ -38,7 +38,6 @@
 #include <asm/time.h>
 #include <asm/time.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/pci-bridge.h>
 #include <asm/pci-bridge.h>
 #include <asm/mpc85xx.h>
 #include <asm/mpc85xx.h>
 #include <asm/irq.h>
 #include <asm/irq.h>

+ 2 - 2
arch/powerpc/platforms/8xx/m8xx_setup.c

@@ -36,13 +36,11 @@
 
 
 #include <asm/mmu.h>
 #include <asm/mmu.h>
 #include <asm/reg.h>
 #include <asm/reg.h>
-#include <asm/residual.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/pgtable.h>
 #include <asm/mpc8xx.h>
 #include <asm/mpc8xx.h>
 #include <asm/8xx_immap.h>
 #include <asm/8xx_immap.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
-#include <asm/bootinfo.h>
 #include <asm/time.h>
 #include <asm/time.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/fs_pd.h>
 #include <asm/fs_pd.h>
@@ -55,7 +53,9 @@ struct mpc8xx_pcmcia_ops m8xx_pcmcia_ops;
 #endif
 #endif
 
 
 void m8xx_calibrate_decr(void);
 void m8xx_calibrate_decr(void);
+#ifdef CONFIG_8xx_WDT
 extern void m8xx_wdt_handler_install(bd_t *bp);
 extern void m8xx_wdt_handler_install(bd_t *bp);
+#endif
 extern int cpm_pic_init(void);
 extern int cpm_pic_init(void);
 extern int cpm_get_irq(void);
 extern int cpm_get_irq(void);
 
 

+ 0 - 1
arch/powerpc/platforms/8xx/mpc86xads.h

@@ -15,7 +15,6 @@
 #ifndef __ASM_MPC86XADS_H__
 #ifndef __ASM_MPC86XADS_H__
 #define __ASM_MPC86XADS_H__
 #define __ASM_MPC86XADS_H__
 
 
-#include <asm/ppcboot.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_soc.h>
 
 
 /* U-Boot maps BCSR to 0xff080000 */
 /* U-Boot maps BCSR to 0xff080000 */

+ 0 - 1
arch/powerpc/platforms/8xx/mpc86xads_setup.c

@@ -31,7 +31,6 @@
 #include <asm/processor.h>
 #include <asm/processor.h>
 #include <asm/system.h>
 #include <asm/system.h>
 #include <asm/time.h>
 #include <asm/time.h>
-#include <asm/ppcboot.h>
 #include <asm/mpc8xx.h>
 #include <asm/mpc8xx.h>
 #include <asm/8xx_immap.h>
 #include <asm/8xx_immap.h>
 #include <asm/commproc.h>
 #include <asm/commproc.h>

+ 0 - 1
arch/powerpc/platforms/8xx/mpc885ads.h

@@ -15,7 +15,6 @@
 #ifndef __ASM_MPC885ADS_H__
 #ifndef __ASM_MPC885ADS_H__
 #define __ASM_MPC885ADS_H__
 #define __ASM_MPC885ADS_H__
 
 
-#include <asm/ppcboot.h>
 #include <sysdev/fsl_soc.h>
 #include <sysdev/fsl_soc.h>
 
 
 /* U-Boot maps BCSR to 0xff080000 */
 /* U-Boot maps BCSR to 0xff080000 */

+ 0 - 1
arch/powerpc/platforms/8xx/mpc885ads_setup.c

@@ -32,7 +32,6 @@
 #include <asm/processor.h>
 #include <asm/processor.h>
 #include <asm/system.h>
 #include <asm/system.h>
 #include <asm/time.h>
 #include <asm/time.h>
-#include <asm/ppcboot.h>
 #include <asm/mpc8xx.h>
 #include <asm/mpc8xx.h>
 #include <asm/8xx_immap.h>
 #include <asm/8xx_immap.h>
 #include <asm/commproc.h>
 #include <asm/commproc.h>

+ 0 - 1
arch/powerpc/platforms/chrp/smp.c

@@ -26,7 +26,6 @@
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/smp.h>
 #include <asm/smp.h>
-#include <asm/residual.h>
 #include <asm/time.h>
 #include <asm/time.h>
 #include <asm/machdep.h>
 #include <asm/machdep.h>
 #include <asm/mpic.h>
 #include <asm/mpic.h>

+ 0 - 1
arch/powerpc/platforms/embedded6xx/ls_uart.c

@@ -5,7 +5,6 @@
 #include <linux/serial_8250.h>
 #include <linux/serial_8250.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/mpc10x.h>
 #include <asm/mpc10x.h>
-#include <asm/ppc_sys.h>
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/termbits.h>
 #include <asm/termbits.h>
 
 

+ 0 - 1
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c

@@ -40,7 +40,6 @@
 #include <asm/pci-bridge.h>
 #include <asm/pci-bridge.h>
 #include <asm/reg.h>
 #include <asm/reg.h>
 #include <mm/mmu_decl.h>
 #include <mm/mmu_decl.h>
-#include "mpc7448_hpc2.h"
 #include <asm/tsi108_pci.h>
 #include <asm/tsi108_pci.h>
 #include <asm/tsi108_irq.h>
 #include <asm/tsi108_irq.h>
 #include <asm/mpic.h>
 #include <asm/mpic.h>

+ 0 - 21
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.h

@@ -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 */

+ 0 - 1
arch/powerpc/platforms/powermac/bootx_init.c

@@ -17,7 +17,6 @@
 #include <asm/prom.h>
 #include <asm/prom.h>
 #include <asm/page.h>
 #include <asm/page.h>
 #include <asm/bootx.h>
 #include <asm/bootx.h>
-#include <asm/bootinfo.h>
 #include <asm/btext.h>
 #include <asm/btext.h>
 #include <asm/io.h>
 #include <asm/io.h>
 
 

+ 0 - 1
drivers/macintosh/adb-iop.c

@@ -19,7 +19,6 @@
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/proc_fs.h>
 #include <linux/proc_fs.h>
 
 
-#include <asm/bootinfo.h> 
 #include <asm/macintosh.h> 
 #include <asm/macintosh.h> 
 #include <asm/macints.h> 
 #include <asm/macints.h> 
 #include <asm/mac_iop.h>
 #include <asm/mac_iop.h>