Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99998
b: refs/heads/master
c: 4a70173
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jul 8, 2008
1 parent 8c0f7fe commit 7e2a8df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 329513a35d1a2b6b28d54f5c2c0dde4face8200b
refs/heads/master: 4a7017370aa0a94a00ae5b5705e9169cdcae5fb8
8 changes: 5 additions & 3 deletions trunk/include/asm-x86/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ int native_cpu_up(unsigned int cpunum);
extern int __cpu_disable(void);
extern void __cpu_die(unsigned int cpu);

extern void prefill_possible_map(void);

void smp_store_cpu_info(int id);
#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)

Expand All @@ -119,11 +117,15 @@ static inline int num_booting_cpus(void)
{
return cpus_weight(cpu_callout_map);
}
#endif /* CONFIG_SMP */

#if defined(CONFIG_SMP) && defined(CONFIG_HOTPLUG_CPU)
extern void prefill_possible_map(void);
#else
static inline void prefill_possible_map(void)
{
}
#endif /* CONFIG_SMP */
#endif

extern unsigned disabled_cpus __cpuinitdata;

Expand Down

0 comments on commit 7e2a8df

Please sign in to comment.