summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/process.c
diff options
context:
space:
mode:
authorRalf Baechle2007-02-26 21:46:34 +0100
committerRalf Baechle2007-02-27 00:06:06 +0100
commitc68644d3304d217d50b8f0a179d4aa7e5a85a5bc (patch)
tree6ee377d8634acc46e37ca57f697fddc0eebadfb3 /arch/mips/kernel/process.c
parent[MIPS] Fix foobar in wiring up compat_sys_epoll_pwait syscall. (diff)
downloadkernel-qcow2-linux-c68644d3304d217d50b8f0a179d4aa7e5a85a5bc.tar.gz
kernel-qcow2-linux-c68644d3304d217d50b8f0a179d4aa7e5a85a5bc.tar.xz
kernel-qcow2-linux-c68644d3304d217d50b8f0a179d4aa7e5a85a5bc.zip
[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)
/* endless idle loop with no priority at all */
while (1) {
while (!need_resched()) {
-#ifdef CONFIG_MIPS_MT_SMTC
+#ifdef CONFIG_SMTC_IDLE_HOOK_DEBUG
extern void smtc_idle_loop_hook(void);
smtc_idle_loop_hook();
-#endif /* CONFIG_MIPS_MT_SMTC */
+#endif
if (cpu_wait)
(*cpu_wait)();
}