X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-cris%2Fbyteorder.h;h=a1a222adaa9fc66e1f1d927c8562156760207382;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=0cd9db1cc888a639ab3b6d09f9f72fe995712c4f;hpb=3944158a6d33f94668dbd6bdc32ff5c67bb53ec2;p=linux-2.6.git diff --git a/include/asm-cris/byteorder.h b/include/asm-cris/byteorder.h index 0cd9db1cc..a1a222ada 100644 --- a/include/asm-cris/byteorder.h +++ b/include/asm-cris/byteorder.h @@ -3,15 +3,14 @@ #ifdef __GNUC__ -#ifdef __KERNEL__ #include /* defines are necessary because the other files detect the presence * of a defined __arch_swab32, not an inline */ + #define __arch__swab32(x) ___arch__swab32(x) #define __arch__swab16(x) ___arch__swab16(x) -#endif /* __KERNEL__ */ #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) # define __BYTEORDER_HAS_U64__