diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-15 17:26:16 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-06-05 17:32:30 +0200 |
commit | 43cc7e86f3200b094e2960b732623aeec00b482d (patch) | |
tree | fecf988914adca5eb622383195c0322700b7f466 /arch | |
parent | 8feb8e896d77439146d2e2ab3d0ab55bb5baf5fc (diff) | |
download | linux-43cc7e86f3200b094e2960b732623aeec00b482d.tar.gz linux-43cc7e86f3200b094e2960b732623aeec00b482d.tar.bz2 linux-43cc7e86f3200b094e2960b732623aeec00b482d.zip |
smp: Remove num_booting_cpus()
No users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m32r/include/asm/smp.h | 5 | ||||
-rw-r--r-- | arch/x86/include/asm/smp.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/m32r/include/asm/smp.h b/arch/m32r/include/asm/smp.h index cf7829a61551..c689b828dfe2 100644 --- a/arch/m32r/include/asm/smp.h +++ b/arch/m32r/include/asm/smp.h @@ -79,11 +79,6 @@ static __inline__ int cpu_number_map(int cpu) return cpu; } -static __inline__ unsigned int num_booting_cpus(void) -{ - return cpumask_weight(&cpu_callout_map); -} - extern void smp_send_timer(void); extern unsigned long send_IPI_mask_phys(const cpumask_t*, int, int); diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index f48394513c37..2ffa95dc2333 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h @@ -169,11 +169,6 @@ void x86_idle_thread_init(unsigned int cpu, struct task_struct *idle); void smp_store_cpu_info(int id); #define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) -/* We don't mark CPUs online until __cpu_up(), so we need another measure */ -static inline int num_booting_cpus(void) -{ - return cpumask_weight(cpu_callout_mask); -} #else /* !CONFIG_SMP */ #define wbinvd_on_cpu(cpu) wbinvd() static inline int wbinvd_on_all_cpus(void) |