diff options
Diffstat (limited to 'arch/powerpc/kernel')
28 files changed, 19 insertions, 23 deletions
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c index 8184ee97e484..ee5b690a0bed 100644 --- a/arch/powerpc/kernel/align.c +++ b/arch/powerpc/kernel/align.c | |||
@@ -21,10 +21,10 @@ | |||
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <asm/processor.h> | 22 | #include <asm/processor.h> |
23 | #include <asm/uaccess.h> | 23 | #include <asm/uaccess.h> |
24 | #include <asm/system.h> | ||
25 | #include <asm/cache.h> | 24 | #include <asm/cache.h> |
26 | #include <asm/cputable.h> | 25 | #include <asm/cputable.h> |
27 | #include <asm/emulated_ops.h> | 26 | #include <asm/emulated_ops.h> |
27 | #include <asm/switch_to.h> | ||
28 | 28 | ||
29 | struct aligninfo { | 29 | struct aligninfo { |
30 | unsigned char len; | 30 | unsigned char len; |
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 138ae183c440..455faa389876 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/cputable.h> | 20 | #include <asm/cputable.h> |
21 | #include <asm/prom.h> /* for PTRRELOC on ARCH=ppc */ | 21 | #include <asm/prom.h> /* for PTRRELOC on ARCH=ppc */ |
22 | #include <asm/mmu.h> | 22 | #include <asm/mmu.h> |
23 | #include <asm/setup.h> | ||
23 | 24 | ||
24 | struct cpu_spec* cur_cpu_spec = NULL; | 25 | struct cpu_spec* cur_cpu_spec = NULL; |
25 | EXPORT_SYMBOL(cur_cpu_spec); | 26 | EXPORT_SYMBOL(cur_cpu_spec); |
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index abef75176c07..fdcd8f551aff 100644 --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c | |||
@@ -27,8 +27,8 @@ | |||
27 | #include <asm/kdump.h> | 27 | #include <asm/kdump.h> |
28 | #include <asm/prom.h> | 28 | #include <asm/prom.h> |
29 | #include <asm/smp.h> | 29 | #include <asm/smp.h> |
30 | #include <asm/system.h> | ||
31 | #include <asm/setjmp.h> | 30 | #include <asm/setjmp.h> |
31 | #include <asm/debug.h> | ||
32 | 32 | ||
33 | /* | 33 | /* |
34 | * The primary CPU waits a while for all secondary CPUs to enter. This is to | 34 | * The primary CPU waits a while for all secondary CPUs to enter. This is to |
diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c index e8e821146f38..6d2209ac0c44 100644 --- a/arch/powerpc/kernel/idle.c +++ b/arch/powerpc/kernel/idle.c | |||
@@ -26,11 +26,11 @@ | |||
26 | #include <linux/sysctl.h> | 26 | #include <linux/sysctl.h> |
27 | #include <linux/tick.h> | 27 | #include <linux/tick.h> |
28 | 28 | ||
29 | #include <asm/system.h> | ||
30 | #include <asm/processor.h> | 29 | #include <asm/processor.h> |
31 | #include <asm/cputable.h> | 30 | #include <asm/cputable.h> |
32 | #include <asm/time.h> | 31 | #include <asm/time.h> |
33 | #include <asm/machdep.h> | 32 | #include <asm/machdep.h> |
33 | #include <asm/runlatch.h> | ||
34 | #include <asm/smp.h> | 34 | #include <asm/smp.h> |
35 | 35 | ||
36 | #ifdef CONFIG_HOTPLUG_CPU | 36 | #ifdef CONFIG_HOTPLUG_CPU |
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index cea2d9f3ae4e..243dbabfe74d 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -57,7 +57,6 @@ | |||
57 | #include <linux/of_irq.h> | 57 | #include <linux/of_irq.h> |
58 | 58 | ||
59 | #include <asm/uaccess.h> | 59 | #include <asm/uaccess.h> |
60 | #include <asm/system.h> | ||
61 | #include <asm/io.h> | 60 | #include <asm/io.h> |
62 | #include <asm/pgtable.h> | 61 | #include <asm/pgtable.h> |
63 | #include <asm/irq.h> | 62 | #include <asm/irq.h> |
@@ -67,6 +66,7 @@ | |||
67 | #include <asm/machdep.h> | 66 | #include <asm/machdep.h> |
68 | #include <asm/udbg.h> | 67 | #include <asm/udbg.h> |
69 | #include <asm/smp.h> | 68 | #include <asm/smp.h> |
69 | #include <asm/debug.h> | ||
70 | 70 | ||
71 | #ifdef CONFIG_PPC64 | 71 | #ifdef CONFIG_PPC64 |
72 | #include <asm/paca.h> | 72 | #include <asm/paca.h> |
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c index bc47352deb1f..e88c64331819 100644 --- a/arch/powerpc/kernel/kprobes.c +++ b/arch/powerpc/kernel/kprobes.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <asm/cacheflush.h> | 35 | #include <asm/cacheflush.h> |
36 | #include <asm/sstep.h> | 36 | #include <asm/sstep.h> |
37 | #include <asm/uaccess.h> | 37 | #include <asm/uaccess.h> |
38 | #include <asm/system.h> | ||
39 | 38 | ||
40 | #ifdef CONFIG_PPC_ADV_DEBUG_REGS | 39 | #ifdef CONFIG_PPC_ADV_DEBUG_REGS |
41 | #define MSR_SINGLESTEP (MSR_DE) | 40 | #define MSR_SINGLESTEP (MSR_DE) |
diff --git a/arch/powerpc/kernel/lparcfg.c b/arch/powerpc/kernel/lparcfg.c index ac12bd80ad95..f5725bce9ed2 100644 --- a/arch/powerpc/kernel/lparcfg.c +++ b/arch/powerpc/kernel/lparcfg.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <asm/hvcall.h> | 30 | #include <asm/hvcall.h> |
31 | #include <asm/firmware.h> | 31 | #include <asm/firmware.h> |
32 | #include <asm/rtas.h> | 32 | #include <asm/rtas.h> |
33 | #include <asm/system.h> | ||
34 | #include <asm/time.h> | 33 | #include <asm/time.h> |
35 | #include <asm/prom.h> | 34 | #include <asm/prom.h> |
36 | #include <asm/vdso_datapage.h> | 35 | #include <asm/vdso_datapage.h> |
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index d3114a71dd32..786a2700ec2d 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/cuda.h> | 26 | #include <linux/cuda.h> |
27 | #include <linux/pmu.h> | 27 | #include <linux/pmu.h> |
28 | #include <asm/prom.h> | 28 | #include <asm/prom.h> |
29 | #include <asm/system.h> | ||
30 | #include <asm/pci-bridge.h> | 29 | #include <asm/pci-bridge.h> |
31 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
32 | #include <asm/pmac_feature.h> | 31 | #include <asm/pmac_feature.h> |
@@ -43,6 +42,7 @@ | |||
43 | #include <asm/signal.h> | 42 | #include <asm/signal.h> |
44 | #include <asm/dcr.h> | 43 | #include <asm/dcr.h> |
45 | #include <asm/ftrace.h> | 44 | #include <asm/ftrace.h> |
45 | #include <asm/switch_to.h> | ||
46 | 46 | ||
47 | #ifdef CONFIG_PPC32 | 47 | #ifdef CONFIG_PPC32 |
48 | extern void transfer_to_handler(void); | 48 | extern void transfer_to_handler(void); |
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index e40707032ac3..f88698c0f332 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -41,14 +41,16 @@ | |||
41 | 41 | ||
42 | #include <asm/pgtable.h> | 42 | #include <asm/pgtable.h> |
43 | #include <asm/uaccess.h> | 43 | #include <asm/uaccess.h> |
44 | #include <asm/system.h> | ||
45 | #include <asm/io.h> | 44 | #include <asm/io.h> |
46 | #include <asm/processor.h> | 45 | #include <asm/processor.h> |
47 | #include <asm/mmu.h> | 46 | #include <asm/mmu.h> |
48 | #include <asm/prom.h> | 47 | #include <asm/prom.h> |
49 | #include <asm/machdep.h> | 48 | #include <asm/machdep.h> |
50 | #include <asm/time.h> | 49 | #include <asm/time.h> |
50 | #include <asm/runlatch.h> | ||
51 | #include <asm/syscalls.h> | 51 | #include <asm/syscalls.h> |
52 | #include <asm/switch_to.h> | ||
53 | #include <asm/debug.h> | ||
52 | #ifdef CONFIG_PPC64 | 54 | #ifdef CONFIG_PPC64 |
53 | #include <asm/firmware.h> | 55 | #include <asm/firmware.h> |
54 | #endif | 56 | #endif |
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index 89e850af3dd6..f191bf02943a 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | #include <asm/kdump.h> | 42 | #include <asm/kdump.h> |
43 | #include <asm/smp.h> | 43 | #include <asm/smp.h> |
44 | #include <asm/system.h> | ||
45 | #include <asm/mmu.h> | 44 | #include <asm/mmu.h> |
46 | #include <asm/paca.h> | 45 | #include <asm/paca.h> |
47 | #include <asm/pgtable.h> | 46 | #include <asm/pgtable.h> |
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index ea4e311e09d2..99860273211b 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
36 | #include <asm/io.h> | 36 | #include <asm/io.h> |
37 | #include <asm/smp.h> | 37 | #include <asm/smp.h> |
38 | #include <asm/system.h> | ||
39 | #include <asm/mmu.h> | 38 | #include <asm/mmu.h> |
40 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
41 | #include <asm/pci.h> | 40 | #include <asm/pci.h> |
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index 5b43325402bc..8d8e028893be 100644 --- a/arch/powerpc/kernel/ptrace.c +++ b/arch/powerpc/kernel/ptrace.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <asm/uaccess.h> | 36 | #include <asm/uaccess.h> |
37 | #include <asm/page.h> | 37 | #include <asm/page.h> |
38 | #include <asm/pgtable.h> | 38 | #include <asm/pgtable.h> |
39 | #include <asm/system.h> | 39 | #include <asm/switch_to.h> |
40 | 40 | ||
41 | #define CREATE_TRACE_POINTS | 41 | #define CREATE_TRACE_POINTS |
42 | #include <trace/events/syscalls.h> | 42 | #include <trace/events/syscalls.h> |
diff --git a/arch/powerpc/kernel/ptrace32.c b/arch/powerpc/kernel/ptrace32.c index 69c4be917d07..469349d14a97 100644 --- a/arch/powerpc/kernel/ptrace32.c +++ b/arch/powerpc/kernel/ptrace32.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <asm/uaccess.h> | 32 | #include <asm/uaccess.h> |
33 | #include <asm/page.h> | 33 | #include <asm/page.h> |
34 | #include <asm/pgtable.h> | 34 | #include <asm/pgtable.h> |
35 | #include <asm/system.h> | 35 | #include <asm/switch_to.h> |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * does not yet catch signals sent when the child dies. | 38 | * does not yet catch signals sent when the child dies. |
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 4d1a7babe342..fcec38241f79 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <asm/firmware.h> | 33 | #include <asm/firmware.h> |
34 | #include <asm/page.h> | 34 | #include <asm/page.h> |
35 | #include <asm/param.h> | 35 | #include <asm/param.h> |
36 | #include <asm/system.h> | ||
37 | #include <asm/delay.h> | 36 | #include <asm/delay.h> |
38 | #include <asm/uaccess.h> | 37 | #include <asm/uaccess.h> |
39 | #include <asm/udbg.h> | 38 | #include <asm/udbg.h> |
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index b0ebdeab9494..afd4f051f3f2 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c | |||
@@ -51,7 +51,6 @@ | |||
51 | #include <asm/btext.h> | 51 | #include <asm/btext.h> |
52 | #include <asm/nvram.h> | 52 | #include <asm/nvram.h> |
53 | #include <asm/setup.h> | 53 | #include <asm/setup.h> |
54 | #include <asm/system.h> | ||
55 | #include <asm/rtas.h> | 54 | #include <asm/rtas.h> |
56 | #include <asm/iommu.h> | 55 | #include <asm/iommu.h> |
57 | #include <asm/serial.h> | 56 | #include <asm/serial.h> |
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index ac7610815113..9825f29d1faf 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <asm/btext.h> | 30 | #include <asm/btext.h> |
31 | #include <asm/machdep.h> | 31 | #include <asm/machdep.h> |
32 | #include <asm/uaccess.h> | 32 | #include <asm/uaccess.h> |
33 | #include <asm/system.h> | ||
34 | #include <asm/pmac_feature.h> | 33 | #include <asm/pmac_feature.h> |
35 | #include <asm/sections.h> | 34 | #include <asm/sections.h> |
36 | #include <asm/nvram.h> | 35 | #include <asm/nvram.h> |
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 4721b0c8d7b7..389bd4f0cdb1 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -52,7 +52,6 @@ | |||
52 | #include <asm/btext.h> | 52 | #include <asm/btext.h> |
53 | #include <asm/nvram.h> | 53 | #include <asm/nvram.h> |
54 | #include <asm/setup.h> | 54 | #include <asm/setup.h> |
55 | #include <asm/system.h> | ||
56 | #include <asm/rtas.h> | 55 | #include <asm/rtas.h> |
57 | #include <asm/iommu.h> | 56 | #include <asm/iommu.h> |
58 | #include <asm/serial.h> | 57 | #include <asm/serial.h> |
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index 7006b7f4267a..651c5963662b 100644 --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <asm/hw_breakpoint.h> | 15 | #include <asm/hw_breakpoint.h> |
16 | #include <asm/uaccess.h> | 16 | #include <asm/uaccess.h> |
17 | #include <asm/unistd.h> | 17 | #include <asm/unistd.h> |
18 | #include <asm/debug.h> | ||
18 | 19 | ||
19 | #include "signal.h" | 20 | #include "signal.h" |
20 | 21 | ||
diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index e061ef5dd449..45eb998557f8 100644 --- a/arch/powerpc/kernel/signal_32.c +++ b/arch/powerpc/kernel/signal_32.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <asm/syscalls.h> | 43 | #include <asm/syscalls.h> |
44 | #include <asm/sigcontext.h> | 44 | #include <asm/sigcontext.h> |
45 | #include <asm/vdso.h> | 45 | #include <asm/vdso.h> |
46 | #include <asm/switch_to.h> | ||
46 | #ifdef CONFIG_PPC64 | 47 | #ifdef CONFIG_PPC64 |
47 | #include "ppc32.h" | 48 | #include "ppc32.h" |
48 | #include <asm/unistd.h> | 49 | #include <asm/unistd.h> |
diff --git a/arch/powerpc/kernel/signal_64.c b/arch/powerpc/kernel/signal_64.c index a50b5ec281dc..2692efdb154e 100644 --- a/arch/powerpc/kernel/signal_64.c +++ b/arch/powerpc/kernel/signal_64.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/cacheflush.h> | 33 | #include <asm/cacheflush.h> |
34 | #include <asm/syscalls.h> | 34 | #include <asm/syscalls.h> |
35 | #include <asm/vdso.h> | 35 | #include <asm/vdso.h> |
36 | #include <asm/switch_to.h> | ||
36 | 37 | ||
37 | #include "signal.h" | 38 | #include "signal.h" |
38 | 39 | ||
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 46695febc09f..d9f94410fd7f 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -43,12 +43,12 @@ | |||
43 | #include <asm/machdep.h> | 43 | #include <asm/machdep.h> |
44 | #include <asm/cputhreads.h> | 44 | #include <asm/cputhreads.h> |
45 | #include <asm/cputable.h> | 45 | #include <asm/cputable.h> |
46 | #include <asm/system.h> | ||
47 | #include <asm/mpic.h> | 46 | #include <asm/mpic.h> |
48 | #include <asm/vdso_datapage.h> | 47 | #include <asm/vdso_datapage.h> |
49 | #ifdef CONFIG_PPC64 | 48 | #ifdef CONFIG_PPC64 |
50 | #include <asm/paca.h> | 49 | #include <asm/paca.h> |
51 | #endif | 50 | #endif |
51 | #include <asm/debug.h> | ||
52 | 52 | ||
53 | #ifdef DEBUG | 53 | #ifdef DEBUG |
54 | #include <asm/udbg.h> | 54 | #include <asm/udbg.h> |
diff --git a/arch/powerpc/kernel/softemu8xx.c b/arch/powerpc/kernel/softemu8xx.c index af0e8290b4fc..29b2f81dd709 100644 --- a/arch/powerpc/kernel/softemu8xx.c +++ b/arch/powerpc/kernel/softemu8xx.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #include <asm/pgtable.h> | 27 | #include <asm/pgtable.h> |
28 | #include <asm/uaccess.h> | 28 | #include <asm/uaccess.h> |
29 | #include <asm/system.h> | ||
30 | #include <asm/io.h> | 29 | #include <asm/io.h> |
31 | 30 | ||
32 | /* Eventually we may need a look-up table, but this works for now. | 31 | /* Eventually we may need a look-up table, but this works for now. |
diff --git a/arch/powerpc/kernel/swsusp.c b/arch/powerpc/kernel/swsusp.c index 641f9adc6205..eae33e10b65f 100644 --- a/arch/powerpc/kernel/swsusp.c +++ b/arch/powerpc/kernel/swsusp.c | |||
@@ -10,9 +10,9 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
13 | #include <asm/system.h> | ||
14 | #include <asm/current.h> | 13 | #include <asm/current.h> |
15 | #include <asm/mmu_context.h> | 14 | #include <asm/mmu_context.h> |
15 | #include <asm/switch_to.h> | ||
16 | 16 | ||
17 | void save_processor_state(void) | 17 | void save_processor_state(void) |
18 | { | 18 | { |
diff --git a/arch/powerpc/kernel/swsusp_64.c b/arch/powerpc/kernel/swsusp_64.c index 168e88480223..0e899e47c325 100644 --- a/arch/powerpc/kernel/swsusp_64.c +++ b/arch/powerpc/kernel/swsusp_64.c | |||
@@ -6,7 +6,6 @@ | |||
6 | * GPLv2 | 6 | * GPLv2 |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <asm/system.h> | ||
10 | #include <asm/iommu.h> | 9 | #include <asm/iommu.h> |
11 | #include <linux/irq.h> | 10 | #include <linux/irq.h> |
12 | #include <linux/sched.h> | 11 | #include <linux/sched.h> |
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index 4e5bf1edc0f2..81c570633ead 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c | |||
@@ -50,6 +50,7 @@ | |||
50 | #include <asm/mmu_context.h> | 50 | #include <asm/mmu_context.h> |
51 | #include <asm/ppc-pci.h> | 51 | #include <asm/ppc-pci.h> |
52 | #include <asm/syscalls.h> | 52 | #include <asm/syscalls.h> |
53 | #include <asm/switch_to.h> | ||
53 | 54 | ||
54 | 55 | ||
55 | asmlinkage long ppc32_select(u32 n, compat_ulong_t __user *inp, | 56 | asmlinkage long ppc32_select(u32 n, compat_ulong_t __user *inp, |
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 0c683d376b1c..3529446c2abd 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <asm/machdep.h> | 17 | #include <asm/machdep.h> |
18 | #include <asm/smp.h> | 18 | #include <asm/smp.h> |
19 | #include <asm/pmc.h> | 19 | #include <asm/pmc.h> |
20 | #include <asm/system.h> | ||
21 | 20 | ||
22 | #include "cacheinfo.h" | 21 | #include "cacheinfo.h" |
23 | 22 | ||
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index a750409ccc4e..6aa0c663e247 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <asm/emulated_ops.h> | 39 | #include <asm/emulated_ops.h> |
40 | #include <asm/pgtable.h> | 40 | #include <asm/pgtable.h> |
41 | #include <asm/uaccess.h> | 41 | #include <asm/uaccess.h> |
42 | #include <asm/system.h> | ||
43 | #include <asm/io.h> | 42 | #include <asm/io.h> |
44 | #include <asm/machdep.h> | 43 | #include <asm/machdep.h> |
45 | #include <asm/rtas.h> | 44 | #include <asm/rtas.h> |
@@ -58,6 +57,8 @@ | |||
58 | #include <asm/ppc-opcode.h> | 57 | #include <asm/ppc-opcode.h> |
59 | #include <asm/rio.h> | 58 | #include <asm/rio.h> |
60 | #include <asm/fadump.h> | 59 | #include <asm/fadump.h> |
60 | #include <asm/switch_to.h> | ||
61 | #include <asm/debug.h> | ||
61 | 62 | ||
62 | #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC) | 63 | #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC) |
63 | int (*__debugger)(struct pt_regs *regs) __read_mostly; | 64 | int (*__debugger)(struct pt_regs *regs) __read_mostly; |
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index 972cca278f98..9eb5b9b536a7 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/memblock.h> | 24 | #include <linux/memblock.h> |
25 | 25 | ||
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/system.h> | ||
28 | #include <asm/processor.h> | 27 | #include <asm/processor.h> |
29 | #include <asm/mmu.h> | 28 | #include <asm/mmu.h> |
30 | #include <asm/mmu_context.h> | 29 | #include <asm/mmu_context.h> |