diff --git a/include/ubifs_pmon.h b/include/ubifs_pmon.h index c043bf3f..a3e1e671 100644 --- a/include/ubifs_pmon.h +++ b/include/ubifs_pmon.h @@ -122,33 +122,6 @@ typedef unsigned __bitwise__ gfp_t; # define uswap_64(x) _uswap_64(x, ) #endif -#if BYTE_ORDER == LITTLE_ENDIAN -# define cpu_to_le16(x) (x) -# define cpu_to_le32(x) (x) -# define cpu_to_le64(x) (x) -# define le16_to_cpu(x) (x) -# define le32_to_cpu(x) (x) -# define le64_to_cpu(x) (x) -# define cpu_to_be16(x) uswap_16(x) -# define cpu_to_be32(x) uswap_32(x) -# define cpu_to_be64(x) uswap_64(x) -# define be16_to_cpu(x) uswap_16(x) -# define be32_to_cpu(x) uswap_32(x) -# define be64_to_cpu(x) uswap_64(x) -#else -# define cpu_to_le16(x) uswap_16(x) -# define cpu_to_le32(x) uswap_32(x) -# define cpu_to_le64(x) uswap_64(x) -# define le16_to_cpu(x) uswap_16(x) -# define le32_to_cpu(x) uswap_32(x) -# define le64_to_cpu(x) uswap_64(x) -# define cpu_to_be16(x) (x) -# define cpu_to_be32(x) (x) -# define cpu_to_be64(x) (x) -# define be16_to_cpu(x) (x) -# define be32_to_cpu(x) (x) -# define be64_to_cpu(x) (x) -#endif #endif diff --git a/lib/libc/bch.c b/lib/libc/bch.c index 35837ef2..1e8a04f6 100644 --- a/lib/libc/bch.c +++ b/lib/libc/bch.c @@ -65,7 +65,7 @@ * finite fields GF(2^q). In Rapport de recherche INRIA no 2829, 1996. */ -//#include +#include #include //#include //#include