alternative-asm.h 227 字节
Newer Older
1 2
#ifdef __ASSEMBLY__

3
#include <asm/asm.h>
4 5 6 7 8

#ifdef CONFIG_SMP
	.macro LOCK_PREFIX
1:	lock
	.section .smp_locks,"a"
9 10
	_ASM_ALIGN
	_ASM_PTR 1b
11 12 13 14 15 16 17 18
	.previous
	.endm
#else
	.macro LOCK_PREFIX
	.endm
#endif

#endif  /*  __ASSEMBLY__  */