kernel/arch/sh/include/uapi/asm/swab.h
.. .. @@ -13,14 +13,9 @@ 13 13 static inline __attribute_const__ __u32 __arch_swab32(__u32 x) 14 14 { 15 15 __asm__( 16 -#ifdef __SH5__17 - "byterev %1, %0\n\t"18 - "shari %0, 32, %0"19 -#else20 16 "swap.b %1, %0\n\t" 21 17 "swap.w %0, %0\n\t" 22 18 "swap.b %0, %0" 23 -#endif24 19 : "=r" (x) 25 20 : "r" (x)); 26 21 .. .. @@ -31,12 +26,7 @@ 31 26 static inline __attribute_const__ __u16 __arch_swab16(__u16 x) 32 27 { 33 28 __asm__( 34 -#ifdef __SH5__35 - "byterev %1, %0\n\t"36 - "shari %0, 32, %0"37 -#else38 29 "swap.b %1, %0" 39 -#endif40 30 : "=r" (x) 41 31 : "r" (x)); 42 32