.. | .. |
---|
139 | 139 | * without volatile and memory clobber. |
---|
140 | 140 | */ |
---|
141 | 141 | #define alternative(oldinstr, altinstr, facility) \ |
---|
142 | | - asm volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory") |
---|
| 142 | + asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) : : : "memory") |
---|
143 | 143 | |
---|
144 | 144 | #define alternative_2(oldinstr, altinstr1, facility1, altinstr2, facility2) \ |
---|
145 | | - asm volatile(ALTERNATIVE_2(oldinstr, altinstr1, facility1, \ |
---|
| 145 | + asm_inline volatile(ALTERNATIVE_2(oldinstr, altinstr1, facility1, \ |
---|
146 | 146 | altinstr2, facility2) ::: "memory") |
---|
147 | 147 | |
---|
148 | 148 | #endif /* __ASSEMBLY__ */ |
---|