x86: process.c declare c1e_remove_cpu before they get used
authorJaswinder Singh <jaswinder@infradead.org>
Wed, 17 Dec 2008 17:50:05 +0000 (23:20 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Dec 2008 21:10:43 +0000 (22:10 +0100)
Impact: cleanup, avoid sparse warning

Included asm/idle.h for c1e_remove_cpu() declaration. Fixes this
sparse warning:

  CHECK   arch/x86/kernel/process.c
  arch/x86/kernel/process.c:284:6: warning: symbol 'c1e_remove_cpu' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/process.c

index c622772..b06100f 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
+#include <asm/idle.h>
 #include <linux/smp.h>
 #include <linux/slab.h>
 #include <linux/sched.h>