diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/processor.h | 3 | ||||
-rw-r--r-- | include/linux/start_kernel.h | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 5f0418d0078c..a52d65440429 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/threads.h> | 20 | #include <linux/threads.h> |
21 | #include <asm/percpu.h> | 21 | #include <asm/percpu.h> |
22 | #include <linux/cpumask.h> | 22 | #include <linux/cpumask.h> |
23 | #include <linux/init.h> | ||
23 | 24 | ||
24 | /* flag for disabling the tsc */ | 25 | /* flag for disabling the tsc */ |
25 | extern int tsc_disable; | 26 | extern int tsc_disable; |
@@ -112,6 +113,8 @@ extern struct cpuinfo_x86 cpu_data[]; | |||
112 | extern int cpu_llc_id[NR_CPUS]; | 113 | extern int cpu_llc_id[NR_CPUS]; |
113 | extern char ignore_fpu_irq; | 114 | extern char ignore_fpu_irq; |
114 | 115 | ||
116 | void __init cpu_detect(struct cpuinfo_x86 *c); | ||
117 | |||
115 | extern void identify_cpu(struct cpuinfo_x86 *); | 118 | extern void identify_cpu(struct cpuinfo_x86 *); |
116 | extern void print_cpu_info(struct cpuinfo_x86 *); | 119 | extern void print_cpu_info(struct cpuinfo_x86 *); |
117 | extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); | 120 | extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); |
diff --git a/include/linux/start_kernel.h b/include/linux/start_kernel.h new file mode 100644 index 000000000000..d3e5f2756545 --- /dev/null +++ b/include/linux/start_kernel.h | |||
@@ -0,0 +1,12 @@ | |||
1 | #ifndef _LINUX_START_KERNEL_H | ||
2 | #define _LINUX_START_KERNEL_H | ||
3 | |||
4 | #include <linux/linkage.h> | ||
5 | #include <linux/init.h> | ||
6 | |||
7 | /* Define the prototype for start_kernel here, rather than cluttering | ||
8 | up something else. */ | ||
9 | |||
10 | extern asmlinkage void __init start_kernel(void); | ||
11 | |||
12 | #endif /* _LINUX_START_KERNEL_H */ | ||