1 diff --git a/include/asm-arm/byteorder.h b/include/asm-arm/byteorder.h
2 index e6f7fcd..39105dc 100644
3 --- a/include/asm-arm/byteorder.h
4 +++ b/include/asm-arm/byteorder.h
5 @@ -29,7 +29,7 @@ static inline __attribute_const__ __u32 ___arch__swab32(__u32 x)
6 * right thing and not screw it up to different degrees
7 * depending on the gcc version.
9 - asm ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
10 + __asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
13 t = x ^ ((x << 16) | (x >> 16)); /* eor r1,r0,r0,ror #16 */
14 diff --git a/include/asm-i386/byteorder.h b/include/asm-i386/byteorder.h
15 index a45470a..4ead40b 100644
16 --- a/include/asm-i386/byteorder.h
17 +++ b/include/asm-i386/byteorder.h
18 @@ -32,13 +32,13 @@ static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val)
21 #ifdef CONFIG_X86_BSWAP
22 - asm("bswapl %0 ; bswapl %1 ; xchgl %0,%1"
23 - : "=r" (v.s.a), "=r" (v.s.b)
24 - : "0" (v.s.a), "1" (v.s.b));
25 + __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1"
26 + : "=r" (v.s.a), "=r" (v.s.b)
27 + : "0" (v.s.a), "1" (v.s.b));
29 v.s.a = ___arch__swab32(v.s.a);
30 v.s.b = ___arch__swab32(v.s.b);
31 - asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b));
32 + __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b));
36 diff --git a/include/asm-s390/byteorder.h b/include/asm-s390/byteorder.h
37 index 1fe2492..07230f6 100644
38 --- a/include/asm-s390/byteorder.h
39 +++ b/include/asm-s390/byteorder.h
40 @@ -18,7 +18,7 @@ static inline __u64 ___arch__swab64p(const __u64 *x)
44 - asm volatile("lrvg %0,%1" : "=d" (result) : "m" (*x));
45 + __asm__ __volatile__("lrvg %0,%1" : "=d" (result) : "m" (*x));
49 @@ -26,7 +26,7 @@ static inline __u64 ___arch__swab64(__u64 x)
53 - asm volatile("lrvgr %0,%1" : "=d" (result) : "d" (x));
54 + __asm__ __volatile__("lrvgr %0,%1" : "=d" (result) : "d" (x));
58 @@ -40,7 +40,7 @@ static inline __u32 ___arch__swab32p(const __u32 *x)
63 + __asm__ __volatile__(
67 @@ -61,7 +61,7 @@ static inline __u32 ___arch__swab32(__u32 x)
71 - asm volatile("lrvr %0,%1" : "=d" (result) : "d" (x));
72 + __asm__ __volatile__("lrvr %0,%1" : "=d" (result) : "d" (x));
74 #endif /* __s390x__ */
76 @@ -75,7 +75,7 @@ static __inline__ __u16 ___arch__swab16p(const __u16 *x)
81 + __asm__ __volatile__(