alternative-asm.i 176 字节
Newer Older
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 4
	.long 1b
	.previous
	.endm
#else
	.macro LOCK_PREFIX
	.endm
#endif