summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2008-07-10 17:13:19 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-18 18:39:19 +0200
commit9781f39fd209cd93ab98b669814191acc67f32fd (patch)
tree656791f621bc75b92ec207b19323194328d32371 /arch/x86/kernel/process.c
parent5b664cb235e97afbf34db9c4d77f08ebd725335e (diff)
downloadblackbird-obmc-linux-9781f39fd209cd93ab98b669814191acc67f32fd.tar.gz
blackbird-obmc-linux-9781f39fd209cd93ab98b669814191acc67f32fd.zip
x86: consolidate the definition of the force_mwait variable
The force_mwait variable iss defined either in arch/x86/kernel/cpu/amd.c or in arch/x86/kernel/setup_64.c, but it is only initialized and used in arch/x86/kernel/process.c. This patch moves the declaration to arch/x86/kernel/process.c. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: michael@free-electrons.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/process.c')
-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 4d629c62f4f8..74f2d196adb4 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -15,6 +15,7 @@ unsigned long idle_nomwait;
EXPORT_SYMBOL(idle_nomwait);
struct kmem_cache *task_xstate_cachep;
+static int force_mwait __cpuinitdata;
int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
{
OpenPOWER on IntegriCloud