diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index b2b4f521618002669d13097e80885a8a7bf35c8f..63bef6fc0f3ee46051401c6e8be747286a4feb6f 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c index 832bb2bb29bd383b8a00846f6eb79036a8cc399e..647dd94a0c399f13f8311e751d273b033908328e 100644 --- a/arch/m32r/kernel/traps.c +++ b/arch/m32r/kernel/traps.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 3de07004c02e726b184fe9ecfb29390701c00eb8..911dc0b49be05bbf8c1a450fc721a938cb0e1f3c 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 21f9c74496e75e33e300624256e9c69f22f439f3..f92081234afd97d39f797890a4383e6bc4406929 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -30,6 +30,8 @@ struct cpu { extern void boot_cpu_init(void); extern void boot_cpu_state_init(void); +extern void cpu_init(void); +extern void trap_init(void); extern int register_cpu(struct cpu *cpu, int num); extern struct device *get_cpu_device(unsigned cpu); diff --git a/include/linux/sched/init.h b/include/linux/sched/init.h new file mode 100644 index 0000000000000000000000000000000000000000..15e46313e55eab80cfbc4f51f1e3d6fbc4e256b4 --- /dev/null +++ b/include/linux/sched/init.h @@ -0,0 +1,6 @@ +#ifndef _LINUX_SCHED_INIT_H +#define _LINUX_SCHED_INIT_H + +#include + +#endif /* _LINUX_SCHED_INIT_H */ diff --git a/init/main.c b/init/main.c index ca9f53fb4125b2eac4a7b9b4e7edcb5e53be3331..eae2f15657c62c31f66353f4bd3c4af1e03451cf 100644 --- a/init/main.c +++ b/init/main.c @@ -63,6 +63,7 @@ #include #include #include +#include #include #include #include diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 76e3af3f39f4a9ef4e748030069dbfe7b3523b04..5cbf92214ad89287d111ab8300e5b55923d83ffe 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -18,6 +18,7 @@ #include #include #include +#include #include #include