diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-21 03:50:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-21 03:50:39 -0400 |
commit | e04997b13a2c2fc93af970fe95fd29a74db113e8 (patch) | |
tree | a84ec3368edc3c2568a0d6acdfa0d0e50d8cacf7 /arch/mips/kernel/process.c | |
parent | 6651ffc8e8bdd5fb4b7d1867c6cfebb4f309512c (diff) | |
parent | 05ce7bfe547c9fa967d9cab6c37867a9cb6fb3fa (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 463b71b90a00..99960940d4a4 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -63,8 +63,13 @@ void __noreturn cpu_idle(void) | |||
63 | 63 | ||
64 | smtc_idle_loop_hook(); | 64 | smtc_idle_loop_hook(); |
65 | #endif | 65 | #endif |
66 | if (cpu_wait) | 66 | |
67 | if (cpu_wait) { | ||
68 | /* Don't trace irqs off for idle */ | ||
69 | stop_critical_timings(); | ||
67 | (*cpu_wait)(); | 70 | (*cpu_wait)(); |
71 | start_critical_timings(); | ||
72 | } | ||
68 | } | 73 | } |
69 | #ifdef CONFIG_HOTPLUG_CPU | 74 | #ifdef CONFIG_HOTPLUG_CPU |
70 | if (!cpu_online(cpu) && !cpu_isset(cpu, cpu_callin_map) && | 75 | if (!cpu_online(cpu) && !cpu_isset(cpu, cpu_callin_map) && |