aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-12-17 23:20:05 +0530
committerIngo Molnar <mingo@elte.hu>2008-12-18 22:10:43 +0100
commitf0bc2202e0373eb8e9b1ddbec930e2e681357db8 (patch)
treef3b0ce8edec2060abcbb52cf6576d2f7e40742d2 /arch
parent7c9c160c54fc545efc23881344593868e5f717bd (diff)
x86: process.c declare c1e_remove_cpu before they get used
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index c622772744d..b06100f1d61 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -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>