Merge "aarch64/arm: Add compiler barrier to barrier instructions" into integration
This commit is contained in:
commit
fc860630f6
|
@ -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 */
|
||||
|
|
|
@ -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…
Reference in New Issue