提交 b4062b16 编写于 作者: A Andi Kleen 提交者: Andi Kleen

[PATCH] Support patchable lock prefix for pure assembly files

Signed-off-by: NAndi Kleen <ak@suse.de>
上级 538b5b41
#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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册