Commit 1bed67e3 authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds

[PATCH] make suspend work with ioapic

IRQ balancing daemon needs try_to_freeze().
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1e42fa25
...@@ -573,6 +573,7 @@ static int balanced_irq(void *unused) ...@@ -573,6 +573,7 @@ static int balanced_irq(void *unused)
for ( ; ; ) { for ( ; ; ) {
set_current_state(TASK_INTERRUPTIBLE); set_current_state(TASK_INTERRUPTIBLE);
time_remaining = schedule_timeout(time_remaining); time_remaining = schedule_timeout(time_remaining);
try_to_freeze(PF_FREEZE);
if (time_after(jiffies, if (time_after(jiffies,
prev_balance_time+balanced_irq_interval)) { prev_balance_time+balanced_irq_interval)) {
do_irq_balance(); do_irq_balance();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment