x86/fpu: Make task_xstate_cachep static
authorIngo Molnar <[email protected]>
Wed, 22 Apr 2015 14:02:33 +0000 (16:02 +0200)
committerIngo Molnar <[email protected]>
Tue, 19 May 2015 13:47:20 +0000 (15:47 +0200)
It's now local to fpu/core.c, make it static.

Reviewed-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/processor.h
arch/x86/kernel/fpu/core.c

index fef8db024ece7e6910821fa1b202000391e338cf..d50cc7f615594beae0dd2ae008a885e7b247125d 100644 (file)
@@ -362,7 +362,6 @@ DECLARE_PER_CPU(struct irq_stack *, softirq_stack);
 #endif /* X86_64 */
 
 extern unsigned int xstate_size;
-extern struct kmem_cache *task_xstate_cachep;
 
 struct perf_event;
 
index b00d1b3c58119bc87d1d60d1b61b1f54bd3df860..d0fcf741f70b034c7302cae011ac7d8263dd368b 100644 (file)
@@ -150,8 +150,7 @@ EXPORT_SYMBOL_GPL(fpstate_init);
 /*
  * FPU state allocation:
  */
-struct kmem_cache *task_xstate_cachep;
-EXPORT_SYMBOL_GPL(task_xstate_cachep);
+static struct kmem_cache *task_xstate_cachep;
 
 void fpstate_cache_init(void)
 {