]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86_32: apic/summit_32, fix cpu_mask_to_apicid
authorJiri Slaby <jirislaby@gmail.com>
Mon, 2 Mar 2009 09:53:58 +0000 (10:53 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 10:20:34 +0000 (11:20 +0100)
commitfae176d6e03578fee7cfe948ff9ae81bf7ea0ef0
treee60e0fd6fa7c61f451c78f0334e36f45977f3ae3
parent0edc0b324a37c4bf9e13f3194f2f45c677808792
x86_32: apic/summit_32, fix cpu_mask_to_apicid

Perform same-cluster checking even for masks with all (nr_cpu_ids)
bits set and report correct apicid on success instead.

While at it, convert it to for_each_cpu and newer cpumask api.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/summit_32.c