kernel/arch/powerpc/include/asm/asm-const.h
.. .. @@ -11,4 +11,17 @@ 11 11 # define __ASM_CONST(x) x##UL 12 12 # define ASM_CONST(x) __ASM_CONST(x) 13 13 #endif 14 +15 +/*16 + * Inline assembly memory constraint17 + *18 + * GCC 4.9 doesn't properly handle pre update memory constraint "m<>"19 + *20 + */21 +#if defined(GCC_VERSION) && GCC_VERSION < 5000022 +#define UPD_CONSTR ""23 +#else24 +#define UPD_CONSTR "<>"25 +#endif26 +14 27 #endif /* _ASM_POWERPC_ASM_CONST_H */