Merge "aarch64/arm: Add compiler barrier to barrier instructions" into integration

This commit is contained in:
André Przywara 2020-10-28 14:34:07 +00:00 committed by TrustedFirmware Code Review
commit fc860630f6
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ static inline void _op(void) \
#define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \
static inline void _op ## _type(void) \
{ \
__asm__ (#_op " " #_type); \
__asm__ (#_op " " #_type : : : "memory"); \
}
/* Define function for system instruction with register parameter */

View File

@ -80,7 +80,7 @@ static inline void _op(uint64_t v) \
#define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \
static inline void _op ## _type(void) \
{ \
__asm__ (#_op " " #_type); \
__asm__ (#_op " " #_type : : : "memory"); \
}
/* Define function for system instruction with register parameter */