• Jiri Slaby's avatar
    x86_32: apic/es7000_32, cpu_mask_to_apicid cleanup · c2b20cbd
    Jiri Slaby authored
    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: default avatarJiri Slaby <jirislaby@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    c2b20cbd
es7000_32.c 18.1 KB