android_kernel_xiaomi_sm8350/include/asm-x86_64/alternative-asm.i

15 lines
176 B
OpenEdge ABL
Raw Normal View History

#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