Commit ed16c20da6f500bc2dfad933078d2987636a7b60
1 parent
5b072ba453
[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>
Showing 23 changed files with 2 additions and 46 deletions Side-by-side Diff
- 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
- arch/powerpc/platforms/powermac/bootx_init.c
- drivers/macintosh/adb-iop.c
arch/powerpc/kernel/setup_32.c
... | ... | @@ -18,13 +18,11 @@ |
18 | 18 | #include <linux/cpu.h> |
19 | 19 | #include <linux/console.h> |
20 | 20 | |
21 | -#include <asm/residual.h> | |
22 | 21 | #include <asm/io.h> |
23 | 22 | #include <asm/prom.h> |
24 | 23 | #include <asm/processor.h> |
25 | 24 | #include <asm/pgtable.h> |
26 | 25 | #include <asm/setup.h> |
27 | -#include <asm/amigappc.h> | |
28 | 26 | #include <asm/smp.h> |
29 | 27 | #include <asm/elf.h> |
30 | 28 | #include <asm/cputable.h> |
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
... | ... | @@ -36,13 +36,11 @@ |
36 | 36 | |
37 | 37 | #include <asm/mmu.h> |
38 | 38 | #include <asm/reg.h> |
39 | -#include <asm/residual.h> | |
40 | 39 | #include <asm/io.h> |
41 | 40 | #include <asm/pgtable.h> |
42 | 41 | #include <asm/mpc8xx.h> |
43 | 42 | #include <asm/8xx_immap.h> |
44 | 43 | #include <asm/machdep.h> |
45 | -#include <asm/bootinfo.h> | |
46 | 44 | #include <asm/time.h> |
47 | 45 | #include <asm/prom.h> |
48 | 46 | #include <asm/fs_pd.h> |
49 | 47 | |
... | ... | @@ -55,7 +53,9 @@ |
55 | 53 | #endif |
56 | 54 | |
57 | 55 | void m8xx_calibrate_decr(void); |
56 | +#ifdef CONFIG_8xx_WDT | |
58 | 57 | extern void m8xx_wdt_handler_install(bd_t *bp); |
58 | +#endif | |
59 | 59 | extern int cpm_pic_init(void); |
60 | 60 | extern int cpm_get_irq(void); |
61 | 61 |
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
1 | -/* | |
2 | - * mpc7448_hpc2.h | |
3 | - * | |
4 | - * Definitions for Freescale MPC7448_HPC2 platform | |
5 | - * | |
6 | - * Author: Jacob Pan | |
7 | - * jacob.pan@freescale.com | |
8 | - * Maintainer: Roy Zang <roy.zang@freescale.com> | |
9 | - * | |
10 | - * 2006 (c) Freescale Semiconductor, Inc. This file is licensed under | |
11 | - * the terms of the GNU General Public License version 2. This program | |
12 | - * is licensed "as is" without any warranty of any kind, whether express | |
13 | - * or implied. | |
14 | - */ | |
15 | - | |
16 | -#ifndef __PPC_PLATFORMS_MPC7448_HPC2_H | |
17 | -#define __PPC_PLATFORMS_MPC7448_HPC2_H | |
18 | - | |
19 | -#include <asm/ppcboot.h> | |
20 | - | |
21 | -#endif /* __PPC_PLATFORMS_MPC7448_HPC2_H */ |
arch/powerpc/platforms/powermac/bootx_init.c