Browse Source

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

pull/1979/head
André Przywara 4 years ago
committed by TrustedFirmware Code Review
parent
commit
fc860630f6
  1. 2
      include/arch/aarch32/arch_helpers.h
  2. 2
      include/arch/aarch64/arch_helpers.h

2
include/arch/aarch32/arch_helpers.h

@ -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 */

2
include/arch/aarch64/arch_helpers.h

@ -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 */

Loading…
Cancel
Save