From: Ralf Baechle Date: Mon, 5 Feb 2007 00:34:20 +0000 (+0000) Subject: [MIPS] SMTC: Cleanup idle hook invocation. X-Git-Tag: v2.6.21-rc2~42^2~24^2~11 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=447deafba4de56bfa5ed5d5778e56afe55432394;p=~emulex%2Finfiniband.git [MIPS] SMTC: Cleanup idle hook invocation. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index ec8209f3a0c..04e5b38d327 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -41,10 +41,6 @@ #include #include #include -#ifdef CONFIG_MIPS_MT_SMTC -#include -extern void smtc_idle_loop_hook(void); -#endif /* CONFIG_MIPS_MT_SMTC */ /* * The idle thread. There's no useful work to be done, so just try to conserve @@ -57,6 +53,8 @@ ATTRIB_NORET void cpu_idle(void) while (1) { while (!need_resched()) { #ifdef CONFIG_MIPS_MT_SMTC + extern void smtc_idle_loop_hook(void); + smtc_idle_loop_hook(); #endif /* CONFIG_MIPS_MT_SMTC */ if (cpu_wait)