Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312372
b: refs/heads/master
c: 43cc7e8
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Jun 5, 2012
1 parent cf8696f commit aed0d84
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8feb8e896d77439146d2e2ab3d0ab55bb5baf5fc
refs/heads/master: 43cc7e86f3200b094e2960b732623aeec00b482d
5 changes: 0 additions & 5 deletions trunk/arch/m32r/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/x86/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ static inline int up_smp_call_function(smp_call_func_t func, void *info)
} while (0)

static inline void smp_send_reschedule(int cpu) { }
#define num_booting_cpus() 1
#define smp_prepare_boot_cpu() do {} while (0)
#define smp_call_function_many(mask, func, info, wait) \
(up_smp_call_function(func, info))
Expand Down

0 comments on commit aed0d84

Please sign in to comment.