diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-05 01:34:20 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-06 17:53:21 +0100 |
commit | 447deafba4de56bfa5ed5d5778e56afe55432394 (patch) | |
tree | fcd12bf99df61322c0cebedc7bf7cedb178ac9d0 /arch/mips/kernel/process.c | |
parent | [MIPS] SELinux: Add security hooks to mips-mt {get,set}affinity (diff) | |
download | linux-447deafba4de56bfa5ed5d5778e56afe55432394.tar.xz linux-447deafba4de56bfa5ed5d5778e56afe55432394.zip |
[MIPS] SMTC: Cleanup idle hook invocation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index ec8209f3a0c6..04e5b38d327d 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -41,10 +41,6 @@ #include <asm/isadep.h> #include <asm/inst.h> #include <asm/stacktrace.h> -#ifdef CONFIG_MIPS_MT_SMTC -#include <asm/mipsmtregs.h> -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) |