Commit 639acb16 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

x86: merge extern function definitions

move extern function definitions that are the same between smp_{32,64}.h
to smp.h
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c27cfeff
...@@ -8,5 +8,8 @@ ...@@ -8,5 +8,8 @@
# include "smp_64.h" # include "smp_64.h"
#endif #endif
extern void smp_alloc_memory(void);
extern void lock_ipi_call_lock(void);
extern void unlock_ipi_call_lock(void);
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif #endif
...@@ -22,10 +22,6 @@ extern cpumask_t cpu_callin_map; ...@@ -22,10 +22,6 @@ extern cpumask_t cpu_callin_map;
extern int smp_num_siblings; extern int smp_num_siblings;
extern unsigned int num_processors; extern unsigned int num_processors;
extern void smp_alloc_memory(void);
extern void lock_ipi_call_lock(void);
extern void unlock_ipi_call_lock(void);
extern void (*mtrr_hook) (void); extern void (*mtrr_hook) (void);
extern void zap_low_mappings (void); extern void zap_low_mappings (void);
......
...@@ -19,10 +19,6 @@ extern cpumask_t cpu_initialized; ...@@ -19,10 +19,6 @@ extern cpumask_t cpu_initialized;
extern int smp_num_siblings; extern int smp_num_siblings;
extern unsigned int num_processors; extern unsigned int num_processors;
extern void smp_alloc_memory(void);
extern void lock_ipi_call_lock(void);
extern void unlock_ipi_call_lock(void);
extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
void *info, int wait); void *info, int wait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment