XAPIC_DEST_CPUS_SHIFT 147 include/asm-x86/apicdef.h #define XAPIC_DEST_CPUS_MASK ((1u << XAPIC_DEST_CPUS_SHIFT) - 1) XAPIC_DEST_CPUS_SHIFT 148 include/asm-x86/apicdef.h #define XAPIC_DEST_CLUSTER_MASK (XAPIC_DEST_CPUS_MASK << XAPIC_DEST_CPUS_SHIFT) XAPIC_DEST_CPUS_SHIFT 150 include/asm-x86/apicdef.h #define APIC_CLUSTERID(apicid) (APIC_CLUSTER(apicid) >> XAPIC_DEST_CPUS_SHIFT) XAPIC_DEST_CPUS_SHIFT 152 include/asm-x86/apicdef.h #define NUM_APIC_CLUSTERS ((BAD_APICID + 1) >> XAPIC_DEST_CPUS_SHIFT) XAPIC_DEST_CPUS_SHIFT 12 include/asm-x86/summit/apic.h #define XAPIC_DEST_CPUS_MASK ((1u << XAPIC_DEST_CPUS_SHIFT) - 1) XAPIC_DEST_CPUS_SHIFT 13 include/asm-x86/summit/apic.h #define XAPIC_DEST_CLUSTER_MASK (XAPIC_DEST_CPUS_MASK << XAPIC_DEST_CPUS_SHIFT) XAPIC_DEST_CPUS_SHIFT 64 include/asm-x86/summit/apic.h BUG_ON(count >= XAPIC_DEST_CPUS_SHIFT);