x86_32: apic/es7000_32, cpu_mask_to_apicid cleanup
authorJiri Slaby <jirislaby@gmail.com>
Mon, 2 Mar 2009 09:53:56 +0000 (10:53 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 10:20:33 +0000 (11:20 +0100)
commitc2b20cbd057b97e2f440fa3bc90b3df51de324fe
treedd57f0fbffea6e463efc712cac0a0284fafb517e
parent9694cd6c17582cd6c29bf4a4e4aa767862ff4f4c
x86_32: apic/es7000_32, cpu_mask_to_apicid cleanup

Remove es7000_cpu_mask_to_apicid_cluster completely, because it's
almost the same as es7000_cpu_mask_to_apicid except 2 code paths.
One of them is about to be removed soon, the another should be
BAD_APICID (it's a fail path).

The _cluster one was not invoked on apic->cpu_mask_to_apicid_and
anyway, since there was no _cluster_and variant.

Also use newer cpumask functions.

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