* [PATCH] Add missing pre-defined ARM arch compiler macro
@ 2015-02-25 13:57 Raphael Silva
2015-02-25 20:58 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Raphael Silva @ 2015-02-25 13:57 UTC (permalink / raw)
To: fio; +Cc: Raphael Silva
Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
---
arch/arch-arm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arch-arm.h b/arch/arch-arm.h
index 7cd9502..bab886e 100644
--- a/arch/arch-arm.h
+++ b/arch/arch-arm.h
@@ -19,7 +19,8 @@
#endif
#if defined (__ARM_ARCH_4__) || defined (__ARM_ARCH_4T__) \
- || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) \
+ || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5E__)\
+ || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) \
|| defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__)
#define nop __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
#define read_barrier() __asm__ __volatile__ ("" : : : "memory")
--
2.3.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Add missing pre-defined ARM arch compiler macro
2015-02-25 13:57 [PATCH] Add missing pre-defined ARM arch compiler macro Raphael Silva
@ 2015-02-25 20:58 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2015-02-25 20:58 UTC (permalink / raw)
To: Raphael Silva, fio; +Cc: Raphael Silva
On 02/25/2015 06:57 AM, Raphael Silva wrote:
> Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
> ---
> arch/arch-arm.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arch-arm.h b/arch/arch-arm.h
> index 7cd9502..bab886e 100644
> --- a/arch/arch-arm.h
> +++ b/arch/arch-arm.h
> @@ -19,7 +19,8 @@
> #endif
>
> #if defined (__ARM_ARCH_4__) || defined (__ARM_ARCH_4T__) \
> - || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) \
> + || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5E__)\
> + || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) \
> || defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__)
> #define nop __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
> #define read_barrier() __asm__ __volatile__ ("" : : : "memory")
Added, thanks.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-25 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 13:57 [PATCH] Add missing pre-defined ARM arch compiler macro Raphael Silva
2015-02-25 20:58 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox