diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-11-29 14:14:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-09 02:00:53 -0500 |
commit | d059f24a9680805bd73fc5675504d465bfe28b72 (patch) | |
tree | 578193b4abca0fcd75960ff6b47d039a0cfa3619 | |
parent | 2d070eff6bbbea6137ac14190805f9549c0a8b01 (diff) |
x86, CPU: Drop superfluous get_cpu_cap() prototype
The get_cpu_cap() external function prototype was declared twice
so lose one of them.
Clean up the header guard while at it.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1322594083-14507-1-git-send-email-bp@amd64.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/cpu/cpu.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 1b22dcc51af4..8bacc7826fb3 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h | |||
@@ -1,5 +1,4 @@ | |||
1 | #ifndef ARCH_X86_CPU_H | 1 | #ifndef ARCH_X86_CPU_H |
2 | |||
3 | #define ARCH_X86_CPU_H | 2 | #define ARCH_X86_CPU_H |
4 | 3 | ||
5 | struct cpu_model_info { | 4 | struct cpu_model_info { |
@@ -35,6 +34,4 @@ extern const struct cpu_dev *const __x86_cpu_dev_start[], | |||
35 | 34 | ||
36 | extern void get_cpu_cap(struct cpuinfo_x86 *c); | 35 | extern void get_cpu_cap(struct cpuinfo_x86 *c); |
37 | extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c); | 36 | extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c); |
38 | extern void get_cpu_cap(struct cpuinfo_x86 *c); | 37 | #endif /* ARCH_X86_CPU_H */ |
39 | |||
40 | #endif | ||