Commit fc860630 authored by André Przywara's avatar André Przywara Committed by TrustedFirmware Code Review
Browse files

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

parents 6e97b224 2be491b1
...@@ -166,7 +166,7 @@ static inline void _op(void) \ ...@@ -166,7 +166,7 @@ static inline void _op(void) \
#define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \ #define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \
static inline void _op ## _type(void) \ static inline void _op ## _type(void) \
{ \ { \
__asm__ (#_op " " #_type); \ __asm__ (#_op " " #_type : : : "memory"); \
} }
/* Define function for system instruction with register parameter */ /* Define function for system instruction with register parameter */
......
...@@ -80,7 +80,7 @@ static inline void _op(uint64_t v) \ ...@@ -80,7 +80,7 @@ static inline void _op(uint64_t v) \
#define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \ #define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \
static inline void _op ## _type(void) \ static inline void _op ## _type(void) \
{ \ { \
__asm__ (#_op " " #_type); \ __asm__ (#_op " " #_type : : : "memory"); \
} }
/* Define function for system instruction with register parameter */ /* Define function for system instruction with register parameter */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment