]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 c622772744d86fcb0dcd3e6c46a6de5323508c40..b06100f1d6127c6f73e8aeb00c64f8fb8ea0d85d 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>