summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/alternative-asm.i
blob: e4041f4fa4dc09fa40100bb20c37ee4e90a424e2 (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 8
	.quad 1b
	.previous
	.endm
#else
	.macro LOCK_PREFIX
	.endm
#endif
OpenPOWER on IntegriCloud