Commit 53ebef49 authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

x86: merge extern variables definitions

move extern 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 639acb16
#ifndef _ASM_X86_SMP_H_ #ifndef _ASM_X86_SMP_H_
#define _ASM_X86_SMP_H_ #define _ASM_X86_SMP_H_
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/cpumask.h>
extern cpumask_t cpu_callout_map;
extern int smp_num_siblings;
extern unsigned int num_processors;
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
# include "smp_32.h" # include "smp_32.h"
......
...@@ -16,12 +16,8 @@ ...@@ -16,12 +16,8 @@
# endif # endif
#endif #endif
extern cpumask_t cpu_callout_map;
extern cpumask_t cpu_callin_map; extern cpumask_t cpu_callin_map;
extern int smp_num_siblings;
extern unsigned int num_processors;
extern void (*mtrr_hook) (void); extern void (*mtrr_hook) (void);
extern void zap_low_mappings (void); extern void zap_low_mappings (void);
......
...@@ -13,12 +13,8 @@ ...@@ -13,12 +13,8 @@
#include <asm/pda.h> #include <asm/pda.h>
#include <asm/thread_info.h> #include <asm/thread_info.h>
extern cpumask_t cpu_callout_map;
extern cpumask_t cpu_initialized; extern cpumask_t cpu_initialized;
extern int smp_num_siblings;
extern unsigned int num_processors;
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