summaryrefslogtreecommitdiff
path: root/include/asm-i386/alternative-asm.i
blob: 6c47e3b9484b8b9043933eb31d9917558c76444d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <linux/config.h>

#ifdef CONFIG_SMP
	.macro LOCK_PREFIX
1:	lock
	.section .smp_locks,"a"
	.align 4
	.long 1b
	.previous
	.endm
#else
	.macro LOCK_PREFIX
	.endm
#endif