x86: consolidate spinlock.h
[pandora-kernel.git] / include / asm-x86 / spinlock.h
1 #ifndef _X86_SPINLOCK_H_
2 #define _X86_SPINLOCK_H_
3
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 */
12
13 #ifdef CONFIG_X86_32
14 # include "spinlock_32.h"
15 #else
16 # include "spinlock_64.h"
17 #endif
18
19 #endif