diff options
Diffstat (limited to 'include/asm-x86/spinlock.h')
-rw-r--r-- | include/asm-x86/spinlock.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-x86/spinlock.h b/include/asm-x86/spinlock.h index d74d85e71dcb..e1d555a3dfe5 100644 --- a/include/asm-x86/spinlock.h +++ b/include/asm-x86/spinlock.h | |||
@@ -1,5 +1,19 @@ | |||
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 | |||
1 | #ifdef CONFIG_X86_32 | 13 | #ifdef CONFIG_X86_32 |
2 | # include "spinlock_32.h" | 14 | # include "spinlock_32.h" |
3 | #else | 15 | #else |
4 | # include "spinlock_64.h" | 16 | # include "spinlock_64.h" |
5 | #endif | 17 | #endif |
18 | |||
19 | #endif | ||