move extern function definitions that are the same between smp_{32,64}.h
to smp.h
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
# include "smp_64.h"
#endif
+extern void smp_alloc_memory(void);
+extern void lock_ipi_call_lock(void);
+extern void unlock_ipi_call_lock(void);
#endif /* __ASSEMBLY__ */
#endif
extern int smp_num_siblings;
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 zap_low_mappings (void);
extern int smp_num_siblings;
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 *),
void *info, int wait);