summaryrefslogtreecommitdiff
path: root/include/asm-i386/alternative-asm.i
blob: f0510209ccbe383a4f3359004f4389948b1fc8b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifdef CONFIG_SMP
	.macro LOCK_PREFIX
1:	lock
	.section .smp_locks,"a"
	.align 4
	.long 1b
	.previous
	.endm
#else
	.macro LOCK_PREFIX
	.endm
#endif