Messages in this thread | | | Subject | Re: 2.4.21pre3 smp_affinity, very strange | From | Arjan van de Ven <> | Date | 19 Jan 2003 19:54:05 +0100 |
| |
> Did the APIC or mpparse changes cause this? +#ifdef CONFIG_X86_CLUSTERED_APIC +static inline int target_cpus(void) +{ + static int cpu; + switch(clustered_apic_mode){ + case CLUSTERED_APIC_NUMAQ: + /* Broadcast intrs to local quad only. */ + return APIC_BROADCAST_ID_APIC; + case CLUSTERED_APIC_XAPIC: + /*round robin the interrupts*/ + cpu = (cpu+1)%smp_num_cpus; + return cpu_to_physical_apicid(cpu); + default: + } + return cpu_online_map; +} +#else +#define target_cpus() (0x01) +#endif (2.4.21-pre3) that's wrong..... 0x01 -> 0xFF and it should be fixed [unhandled content-type:application/pgp-signature]
| |