Re: [PATCH] Add missing pre-defined ARM arch compiler macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/25/2015 06:57 AM, Raphael Silva wrote:
> Signed-off-by: Raphael Silva <raphael.philipe@xxxxxxxxxxxxxxxx>
> ---
>  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

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux