]> git.hungrycats.org Git - linux/commitdiff
[PATCH] noirqbalance still doesn't do anything
authorZwane Mwaikambo <zwane@linuxpower.ca>
Thu, 6 Mar 2003 23:43:51 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 6 Mar 2003 23:43:51 +0000 (15:43 -0800)
This one simply sets TARGET_CPUS to cpu_callout_map instead of
cpu_online_map so that when we finally do boot we actually use the other
cpus for servicing interrupts.

include/asm-i386/mach-bigsmp/mach_apic.h
include/asm-i386/mach-default/mach_apic.h
include/asm-i386/mach-summit/mach_apic.h

index b6d7c5e946a3fff1525e835ebead7b00d8eedaaf..d49156a533c356e8695995bff82ace1d64f5dc08 100644 (file)
@@ -19,7 +19,7 @@ static inline int apic_id_registered(void)
 }
 
 #define APIC_DFR_VALUE (APIC_DFR_CLUSTER)
-#define TARGET_CPUS    ((cpu_online_map < 0xf)?cpu_online_map:0xf)
+#define TARGET_CPUS    ((cpu_callout_map < 0xf)?cpu_callout_map:0xf)
 
 #define INT_DELIVERY_MODE dest_LowestPrio
 #define INT_DEST_MODE 1     /* logical delivery broadcast to all procs */
index 8a1311d6df7bc04407de82577d0dfa57400431bd..a7744edacd94bc5cf00175004e5e026289c15fcb 100644 (file)
@@ -4,7 +4,7 @@
 #define APIC_DFR_VALUE (APIC_DFR_FLAT)
 
 #ifdef CONFIG_SMP
- #define TARGET_CPUS (cpu_online_map)
+ #define TARGET_CPUS (cpu_callout_map)
 #else
  #define TARGET_CPUS 0x01
 #endif
index 988e40647378007a248cb6222e4159948c55beac..c84b8b8b64b205b699de23d54ef263999599c066 100644 (file)
@@ -13,7 +13,7 @@ extern int x86_summit;
                ((phys_apic) & XAPIC_DEST_CLUSTER_MASK) )
 
 #define APIC_DFR_VALUE (x86_summit ? APIC_DFR_CLUSTER : APIC_DFR_FLAT)
-#define TARGET_CPUS    (x86_summit ? XAPIC_DEST_CPUS_MASK : cpu_online_map)
+#define TARGET_CPUS    (x86_summit ? XAPIC_DEST_CPUS_MASK : cpu_callout_map)
 
 #define INT_DELIVERY_MODE (x86_summit ? dest_Fixed : dest_LowestPrio)
 #define INT_DEST_MODE 1     /* logical delivery broadcast to all procs */