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