x86: simplify idle selection
authorThomas Gleixner <tglx@linutronix.de>
Mon, 9 Jun 2008 14:59:53 +0000 (16:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Jun 2008 13:52:01 +0000 (15:52 +0200)
commit6ddd2a27948f0bd02a2ad001e8a6816898eba0dc
tree4a9a8b4d1186bb5a03df6c26f23d4a4a8ba6f7bd
parent9e26d84273541a8c6c2efb705457ca8e6245fb73
x86: simplify idle selection

default_idle is selected in cpu_idle(), when no other idle routine is
selected. Select it in select_idle_routine() when mwait is not
selected.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/process.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c