Go to the documentation of this file.
4 #include <linux/types.h>
5 #include <linux/compiler.h>
7 #define __SWAB_64_THRU_32__
9 #if defined (__mcfisaaplus__) || defined (__mcfisac__)
12 __asm__(
"byterev %0" :
"=d" (val) :
"0" (val));
16 #define __arch_swab32 __arch_swab32
17 #elif !defined(__mcoldfire__)
21 __asm__(
"rolw #8,%0; swap %0; rolw #8,%0" :
"=d" (val) :
"0" (val));
24 #define __arch_swab32 __arch_swab32