]> err.no Git - linux-2.6/commit
x86: consolidate the definition of the force_mwait variable
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 10 Jul 2008 15:13:19 +0000 (17:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 16:39:19 +0000 (18:39 +0200)
commit9781f39fd209cd93ab98b669814191acc67f32fd
tree656791f621bc75b92ec207b19323194328d32371
parent5b664cb235e97afbf34db9c4d77f08ebd725335e
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>
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/process.c
include/asm-x86/processor.h