Re: [PATCH][2.5] why noirqbalance doesn't work

From: Zwane Mwaikambo (zwane@linuxpower.ca)
Date: Sat Mar 01 2003 - 02:01:44 EST


This should fix the noapic case with the patch applied.

Index: linux-2.5.63-DBE/arch/i386/kernel/io_apic.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.63/arch/i386/kernel/io_apic.c,v
retrieving revision 1.2
diff -u -r1.2 io_apic.c
--- linux-2.5.63-DBE/arch/i386/kernel/io_apic.c 1 Mar 2003 06:52:16 -0000 1.2
+++ linux-2.5.63-DBE/arch/i386/kernel/io_apic.c 1 Mar 2003 06:52:25 -0000
@@ -205,6 +205,9 @@
         unsigned long flags;
         int apic, pin;
 
+ if (skip_ioapic_setup == 1)
+ return;
+
         spin_lock_irqsave(&ioapic_lock, flags);
         for (apic = 0; apic < nr_ioapics; apic++) {
                 for (pin = 0; pin < nr_ioapic_registers[apic]; pin++) {

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:15 EST