diff options
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/alternative.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86_64/alternative.h b/include/asm-x86_64/alternative.h index a09fe85c268e..a09427640764 100644 --- a/include/asm-x86_64/alternative.h +++ b/include/asm-x86_64/alternative.h | |||
@@ -103,6 +103,12 @@ static inline void alternatives_smp_switch(int smp) {} | |||
103 | ".previous" : output : [feat] "i" (feature), ##input) | 103 | ".previous" : output : [feat] "i" (feature), ##input) |
104 | 104 | ||
105 | /* | 105 | /* |
106 | * use this macro(s) if you need more than one output parameter | ||
107 | * in alternative_io | ||
108 | */ | ||
109 | #define ASM_OUTPUT2(a, b) a, b | ||
110 | |||
111 | /* | ||
106 | * Alternative inline assembly for SMP. | 112 | * Alternative inline assembly for SMP. |
107 | * | 113 | * |
108 | * The LOCK_PREFIX macro defined here replaces the LOCK and | 114 | * The LOCK_PREFIX macro defined here replaces the LOCK and |