Skip to contentSkip to conversation

x86: asm/processor.h remove double declaration

PATCH In review Jaswinder Singh Rajput 1 participant 2 messages May 19, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: asm/processor.h remove double declaration

Impact: cleanup

Remove double declaration of:
extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c); extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); extern unsigned short num_cache_leaves;

they are already defined in the same file.

---
 arch/x86/include/asm/processor.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/x86/include/asm/processor.h +0 -3
index 930d4ea..c776826 100644
@@ -410,9 +410,6 @@ DECLARE_PER_CPU(unsigned long, stack_canary);
 extern unsigned int xstate_size;
 extern void free_thread_xstate(struct task_struct *);
 extern struct kmem_cache *task_xstate_cachep;
-extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c);
-extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);
-extern unsigned short num_cache_leaves;
 
 struct thread_struct {
 	/* Cached TLS descriptors: */
Signature · 1 line
1.6.1.1
#1 lore raw

[tip:x86/cleanups] x86: asm/processor.h: remove double declaration

Commit-ID:  4aee2ad461889132bfb5a1518a9580d00e17008c
Gitweb:     http://git.kernel.org/tip/4aee2ad461889132bfb5a1518a9580d00e17008c
Author:     Jaswinder Singh Rajput <[email protected]>
AuthorDate: Tue, 19 May 2009 17:07:01 +0530
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 19 May 2009 14:16:24 +0200

x86: asm/processor.h: remove double declaration

Remove double declaration of:

extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c); extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); extern unsigned short num_cache_leaves;

they are already defined in the same file.

[ Impact: cleanup ]

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/processor.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
arch/x86/include/asm/processor.h +0 -3
index 34c5237..85628ea 100644
@@ -403,9 +403,6 @@ DECLARE_PER_CPU(unsigned long, stack_canary);
 extern unsigned int xstate_size;
 extern void free_thread_xstate(struct task_struct *);
 extern struct kmem_cache *task_xstate_cachep;
-extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c);
-extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);
-extern unsigned short num_cache_leaves;
 
 struct thread_struct {
 	/* Cached TLS descriptors: */