aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-x86/smp.h6
-rw-r--r--include/asm-x86/smp_32.h4
-rw-r--r--include/asm-x86/smp_64.h4
3 files changed, 6 insertions, 8 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index ad7b99dda0dc..c130a87c956d 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -1,6 +1,12 @@
1#ifndef _ASM_X86_SMP_H_ 1#ifndef _ASM_X86_SMP_H_
2#define _ASM_X86_SMP_H_ 2#define _ASM_X86_SMP_H_
3#ifndef __ASSEMBLY__ 3#ifndef __ASSEMBLY__
4#include <linux/cpumask.h>
5
6extern cpumask_t cpu_callout_map;
7
8extern int smp_num_siblings;
9extern unsigned int num_processors;
4 10
5#ifdef CONFIG_X86_32 11#ifdef CONFIG_X86_32
6# include "smp_32.h" 12# include "smp_32.h"
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h
index 27812258ac6d..9a4057d94367 100644
--- a/include/asm-x86/smp_32.h
+++ b/include/asm-x86/smp_32.h
@@ -16,12 +16,8 @@
16# endif 16# endif
17#endif 17#endif
18 18
19extern cpumask_t cpu_callout_map;
20extern cpumask_t cpu_callin_map; 19extern cpumask_t cpu_callin_map;
21 20
22extern int smp_num_siblings;
23extern unsigned int num_processors;
24
25extern void (*mtrr_hook) (void); 21extern void (*mtrr_hook) (void);
26extern void zap_low_mappings (void); 22extern void zap_low_mappings (void);
27 23
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h
index 2c21df289da4..284f701f2a8b 100644
--- a/include/asm-x86/smp_64.h
+++ b/include/asm-x86/smp_64.h
@@ -13,12 +13,8 @@
13#include <asm/pda.h> 13#include <asm/pda.h>
14#include <asm/thread_info.h> 14#include <asm/thread_info.h>
15 15
16extern cpumask_t cpu_callout_map;
17extern cpumask_t cpu_initialized; 16extern cpumask_t cpu_initialized;
18 17
19extern int smp_num_siblings;
20extern unsigned int num_processors;
21
22extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *), 18extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
23 void *info, int wait); 19 void *info, int wait);
24 20