make suspend work with ioapic

From: Pavel Machek
Date: Wed Jan 12 2005 - 08:27:02 EST


Hi!

IRQ balancing daemon needs try_to_freeze(). Please apply,
Pavel

--- clean/arch/i386/kernel/io_apic.c 2004-12-25 13:34:57.000000000 +0100
+++ linux/arch/i386/kernel/io_apic.c 2004-12-25 15:51:05.000000000 +0100
@@ -573,6 +573,7 @@
for ( ; ; ) {
set_current_state(TASK_INTERRUPTIBLE);
time_remaining = schedule_timeout(time_remaining);
+ try_to_freeze(PF_FREEZE);
if (time_after(jiffies,
prev_balance_time+balanced_irq_interval)) {
do_irq_balance();

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/