arch-arm: Consider armv7ve arch as well
authorKhem Raj <raj.khem@gmail.com>
Tue, 5 Nov 2019 13:41:55 +0000 (06:41 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 5 Nov 2019 13:41:55 +0000 (06:41 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arch-arm.h

index 78cb2eb..b356712 100644 (file)
@@ -11,7 +11,7 @@
 #define nop             __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
 #define read_barrier() __asm__ __volatile__ ("" : : : "memory")
 #define write_barrier()        __asm__ __volatile__ ("" : : : "memory")
-#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__)
+#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7VE__) || defined(__ARM_ARCH_8A__)
 #define        nop             __asm__ __volatile__ ("nop")
 #define read_barrier() __sync_synchronize()
 #define write_barrier()        __sync_synchronize()