diff options
-rw-r--r-- | include/asm-x86_64/smp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86_64/smp.h b/include/asm-x86_64/smp.h index d6b7c057edba..7ae7e7d89d16 100644 --- a/include/asm-x86_64/smp.h +++ b/include/asm-x86_64/smp.h | |||
@@ -82,11 +82,6 @@ extern u8 x86_cpu_to_apicid[NR_CPUS]; /* physical ID */ | |||
82 | extern u8 x86_cpu_to_log_apicid[NR_CPUS]; | 82 | extern u8 x86_cpu_to_log_apicid[NR_CPUS]; |
83 | extern u8 bios_cpu_apicid[]; | 83 | extern u8 bios_cpu_apicid[]; |
84 | 84 | ||
85 | static inline unsigned int cpu_mask_to_apicid(cpumask_t cpumask) | ||
86 | { | ||
87 | return cpus_addr(cpumask)[0]; | ||
88 | } | ||
89 | |||
90 | static inline int cpu_present_to_apicid(int mps_cpu) | 85 | static inline int cpu_present_to_apicid(int mps_cpu) |
91 | { | 86 | { |
92 | if (mps_cpu < NR_CPUS) | 87 | if (mps_cpu < NR_CPUS) |