Merge branch 'regmap-linus' into regmap-next
[deliverable/linux.git] / arch / x86 / include / asm / alternative-asm.h
CommitLineData
7e02cb94
AB
1#ifdef __ASSEMBLY__
2
99063c0b 3#include <asm/asm.h>
7e02cb94
AB
4
5#ifdef CONFIG_SMP
6 .macro LOCK_PREFIX
71: lock
8 .section .smp_locks,"a"
5967ed87
JB
9 .balign 4
10 .long 1b - .
7e02cb94
AB
11 .previous
12 .endm
13#else
14 .macro LOCK_PREFIX
15 .endm
16#endif
17
9072d11d
FY
18.macro altinstruction_entry orig alt feature orig_len alt_len
19 .align 8
59e97e4d
AL
20 .long \orig - .
21 .long \alt - .
9072d11d
FY
22 .word \feature
23 .byte \orig_len
24 .byte \alt_len
25.endm
26
7e02cb94 27#endif /* __ASSEMBLY__ */
This page took 0.315938 seconds and 5 git commands to generate.