OpenCloudOS-Kernel/include/asm-x86_64/alternative-asm.i

13 lines
149 B
OpenEdge ABL

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