aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-01-14 23:26:09 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-14 23:26:09 -0800
commit1bed67e3cbd9fa5d4bf3f3dda9dfb105e2bcea87 (patch)
tree71a07a10456cdaa05e87cf3ca9566f28c6bcc0ad /arch
parent1e42fa2573b2cef83d61cac0558acd43e83d61d6 (diff)
downloadhistory-1bed67e3cbd9fa5d4bf3f3dda9dfb105e2bcea87.tar.gz
[PATCH] make suspend work with ioapic
IRQ balancing daemon needs try_to_freeze(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/io_apic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index 771a35d97c25dd..daa3bc0ec0db7f 100644
--- a/arch/i386/kernel/io_apic.c
+++ b/arch/i386/kernel/io_apic.c
@@ -573,6 +573,7 @@ static int balanced_irq(void *unused)
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();