x86: spinlock_32/64 substitute types and instructions
[linux-2.6/mini2440.git] / include / asm-x86 / spinlock.h
blobe1d555a3dfe5291e323ad8e8215258687c20f6c2
1 #ifndef _X86_SPINLOCK_H_
2 #define _X86_SPINLOCK_H_
4 #ifdef CONFIG_PARAVIRT
5 #include <asm/paravirt.h>
6 #else
7 #define CLI_STRING "cli"
8 #define STI_STRING "sti"
9 #define CLI_STI_CLOBBERS
10 #define CLI_STI_INPUT_ARGS
11 #endif /* CONFIG_PARAVIRT */
13 #ifdef CONFIG_X86_32
14 # include "spinlock_32.h"
15 #else
16 # include "spinlock_64.h"
17 #endif
19 #endif