[PATCH 22/22] byteorder: remove the old byteorder implementation

Previous thread: [PATCH 21/22] byteorder: fix direct byteswap includes by Harvey Harrison on Tuesday, August 12, 2008 - 8:27 pm. (1 message)

Next thread: Soluciones a su medida by Desarrollo Creativo on Tuesday, August 12, 2008 - 7:42 pm. (1 message)
To: Andrew Morton <akpm@...>
Cc: LKML <linux-kernel@...>
Date: Tuesday, August 12, 2008 - 8:27 pm

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
include/linux/byteorder/Kbuild | 3 -
include/linux/byteorder/big_endian.h | 108 ---------------
include/linux/byteorder/generic.h | 173 ------------------------
include/linux/byteorder/little_endian.h | 108 ---------------
include/linux/byteorder/swab.h | 222 -------------------------------
include/linux/byteorder/swabb.h | 135 -------------------
6 files changed, 0 insertions(+), 749 deletions(-)

diff --git a/include/linux/byteorder/Kbuild b/include/linux/byteorder/Kbuild
deleted file mode 100644
index 1133d5f..0000000
--- a/include/linux/byteorder/Kbuild
+++ /dev/null
@@ -1,3 +0,0 @@
-unifdef-y += big_endian.h
-unifdef-y += little_endian.h
-unifdef-y += swab.h
diff --git a/include/linux/byteorder/big_endian.h b/include/linux/byteorder/big_endian.h
deleted file mode 100644
index 44f95b9..0000000
--- a/include/linux/byteorder/big_endian.h
+++ /dev/null
@@ -1,108 +0,0 @@
-#ifndef _LINUX_BYTEORDER_BIG_ENDIAN_H
-#define _LINUX_BYTEORDER_BIG_ENDIAN_H
-
-#ifndef __BIG_ENDIAN
-#define __BIG_ENDIAN 4321
-#endif
-#ifndef __BIG_ENDIAN_BITFIELD
-#define __BIG_ENDIAN_BITFIELD
-#endif
-
-#include <linux/types.h>
-#include <linux/byteorder/swab.h>
-
-#define __constant_htonl(x) ((__force __be32)(__u32)(x))
-#define __constant_ntohl(x) ((__force __u32)(__be32)(x))
-#define __constant_htons(x) ((__force __be16)(__u16)(x))
-#define __constant_ntohs(x) ((__force __u16)(__be16)(x))
-#define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x)))
-#define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x))
-#define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x)))
-#define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x))
-#define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x)))
-#define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x))
-#de...

To: Harvey Harrison <harvey.harrison@...>
Cc: LKML <linux-kernel@...>
Date: Wednesday, August 13, 2008 - 1:05 am

akpm2:/usr/src/25> make headers_check
CHK include/linux/version.h
make[1]: `scripts/unifdef' is up to date.
/usr/src/devel/scripts/Makefile.headersinst:15: /usr/src/devel/include/linux/byteorder/Kbuild: No such file or directory
make[3]: *** No rule to make target `/usr/src/devel/include/linux/byteorder/Kbuild'. Stop.

This is just a basic i386 allmodconfig :( The largest risk from
these patches is build breakage, and it is quite obvious that they have
not had anything like adequate build coverage testing.

--

Previous thread: [PATCH 21/22] byteorder: fix direct byteswap includes by Harvey Harrison on Tuesday, August 12, 2008 - 8:27 pm. (1 message)

Next thread: Soluciones a su medida by Desarrollo Creativo on Tuesday, August 12, 2008 - 7:42 pm. (1 message)