Andi Kleen | b4062b1 | 2006-09-26 10:52:28 +0200 | [diff] [blame] | 1 | #include <linux/config.h> |
2 | |||||
3 | #ifdef CONFIG_SMP | ||||
4 | .macro LOCK_PREFIX | ||||
5 | 1: lock | ||||
6 | .section .smp_locks,"a" | ||||
7 | .align 8 | ||||
8 | .quad 1b | ||||
9 | .previous | ||||
10 | .endm | ||||
11 | #else | ||||
12 | .macro LOCK_PREFIX | ||||
13 | .endm | ||||
14 | #endif |