aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/process.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-26 15:46:34 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-02-26 18:06:06 -0500
commitc68644d3304d217d50b8f0a179d4aa7e5a85a5bc (patch)
tree6ee377d8634acc46e37ca57f697fddc0eebadfb3 /arch/mips/kernel/process.c
parente016c38d1813c4ad180a4cd44942bca2a9e7a8c9 (diff)
[MIPS] Make SMTC_IDLE_HOOK_DEBUG a proper option in Kconfig.debug.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r--arch/mips/kernel/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index a669089e4672..6bdfb5a9fa1a 100644
--- a/arch/mips/kernel/process.c
+++ b/arch/mips/kernel/process.c
@@ -51,11 +51,11 @@ ATTRIB_NORET void cpu_idle(void)
51 /* endless idle loop with no priority at all */ 51 /* endless idle loop with no priority at all */
52 while (1) { 52 while (1) {
53 while (!need_resched()) { 53 while (!need_resched()) {
54#ifdef CONFIG_MIPS_MT_SMTC 54#ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG
55 extern void smtc_idle_loop_hook(void); 55 extern void smtc_idle_loop_hook(void);
56 56
57 smtc_idle_loop_hook(); 57 smtc_idle_loop_hook();
58#endif /* CONFIG_MIPS_MT_SMTC */ 58#endif
59 if (cpu_wait) 59 if (cpu_wait)
60 (*cpu_wait)(); 60 (*cpu_wait)();
61 } 61 }