New upstream version 17.08
[deb_dpdk.git] / lib / librte_eal / common / include / arch / arm / rte_byteorder.h
index 1b312b3..0a29f4b 100644 (file)
@@ -52,7 +52,7 @@ static inline uint16_t rte_arch_bswap16(uint16_t _x)
 {
        register uint16_t x = _x;
 
-       asm volatile ("rev16 %0,%1"
+       asm volatile ("rev16 %w0,%w1"
                      : "=r" (x)
                      : "r" (x)
                      );