Glauber de Oliveira Costa | 2fed0c5 | 2008-01-30 13:30:33 +0100 | [diff] [blame^] | 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 | |
Thomas Gleixner | 96a388d | 2007-10-11 11:20:03 +0200 | [diff] [blame] | 13 | #ifdef CONFIG_X86_32 |
| 14 | # include "spinlock_32.h" |
| 15 | #else |
| 16 | # include "spinlock_64.h" |
| 17 | #endif |
Glauber de Oliveira Costa | 2fed0c5 | 2008-01-30 13:30:33 +0100 | [diff] [blame^] | 18 | |
| 19 | #endif |