diff options
Diffstat (limited to 'arch/i386/kernel/io_apic.c')
| -rw-r--r-- | arch/i386/kernel/io_apic.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c index 889eda2d7b17..35d3ce26a544 100644 --- a/arch/i386/kernel/io_apic.c +++ b/arch/i386/kernel/io_apic.c | |||
| @@ -573,8 +573,7 @@ static int balanced_irq(void *unused) | |||
| 573 | } | 573 | } |
| 574 | 574 | ||
| 575 | for ( ; ; ) { | 575 | for ( ; ; ) { |
| 576 | set_current_state(TASK_INTERRUPTIBLE); | 576 | time_remaining = schedule_timeout_interruptible(time_remaining); |
| 577 | time_remaining = schedule_timeout(time_remaining); | ||
| 578 | try_to_freeze(); | 577 | try_to_freeze(); |
| 579 | if (time_after(jiffies, | 578 | if (time_after(jiffies, |
| 580 | prev_balance_time+balanced_irq_interval)) { | 579 | prev_balance_time+balanced_irq_interval)) { |
| @@ -1634,9 +1633,9 @@ void disable_IO_APIC(void) | |||
| 1634 | clear_IO_APIC(); | 1633 | clear_IO_APIC(); |
| 1635 | 1634 | ||
| 1636 | /* | 1635 | /* |
| 1637 | * If the i82559 is routed through an IOAPIC | 1636 | * If the i8259 is routed through an IOAPIC |
| 1638 | * Put that IOAPIC in virtual wire mode | 1637 | * Put that IOAPIC in virtual wire mode |
| 1639 | * so legacy interrups can be delivered. | 1638 | * so legacy interrupts can be delivered. |
| 1640 | */ | 1639 | */ |
| 1641 | pin = find_isa_irq_pin(0, mp_ExtINT); | 1640 | pin = find_isa_irq_pin(0, mp_ExtINT); |
| 1642 | if (pin != -1) { | 1641 | if (pin != -1) { |
