]> git.openfabrics.org - ~shefty/rdma-dev.git/blob - arch/x86/include/asm/alternative-asm.h
x86/alternatives: No need for alternatives-asm.h to re-invent stuff already in asm.h
[~shefty/rdma-dev.git] / arch / x86 / include / asm / alternative-asm.h
1 #ifdef __ASSEMBLY__
2
3 #include <asm/asm.h>
4
5 #ifdef CONFIG_SMP
6         .macro LOCK_PREFIX
7 1:      lock
8         .section .smp_locks,"a"
9         _ASM_ALIGN
10         _ASM_PTR 1b
11         .previous
12         .endm
13 #else
14         .macro LOCK_PREFIX
15         .endm
16 #endif
17
18 #endif  /*  __ASSEMBLY__  */