aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 12:12:31 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:52 -0400
commit53ebef4961c7d5347b4fa2b878258ccd11fc9663 (patch)
treef772233c7d982e9f5e5c83a7142410784505c043 /include/asm-x86/smp.h
parent639acb16e6b93342a786c01425cf8eb8ebbb1351 (diff)
x86: merge extern variables definitions
move extern 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>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r--include/asm-x86/smp.h6
1 files changed, 6 insertions, 0 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"