Skip to content

Commit

Permalink
x86, CPU: Drop superfluous get_cpu_cap() prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Borislav Petkov authored and Ingo Molnar committed Dec 9, 2011
1 parent 2d070ef commit d059f24
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/x86/kernel/cpu/cpu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef ARCH_X86_CPU_H

#define ARCH_X86_CPU_H

struct cpu_model_info {
Expand Down Expand Up @@ -35,6 +34,4 @@ extern const struct cpu_dev *const __x86_cpu_dev_start[],

extern void get_cpu_cap(struct cpuinfo_x86 *c);
extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c);
extern void get_cpu_cap(struct cpuinfo_x86 *c);

#endif
#endif /* ARCH_X86_CPU_H */

0 comments on commit d059f24

Please sign in to comment.