x86: commonize smp.h

this is the first step of integrating smp.h between x86_64
and i386

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Glauber Costa 2008-03-03 14:12:29 -03:00 committed by Ingo Molnar
parent 8b6451fe5c
commit c27cfeffad
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
#ifndef _ASM_X86_SMP_H_
#define _ASM_X86_SMP_H_
#ifndef __ASSEMBLY__
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
# include "smp_32.h" # include "smp_32.h"
#else #else
# include "smp_64.h" # include "smp_64.h"
#endif #endif
#endif /* __ASSEMBLY__ */
#endif