summaryrefslogtreecommitdiff
path: root/include/linux/byteorder/big_endian.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-18 20:28:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 08:52:40 -0700
commit1d8cca44b6a244b7e378546d719041819049a0f9 (patch)
treeee94b458b16cf4c254572ff6de2dbc219b6ae0fe /include/linux/byteorder/big_endian.h
parentacf0108a84edae22b99655eb2f6f6c9f7ec4d449 (diff)
downloadlwn-1d8cca44b6a244b7e378546d719041819049a0f9.tar.gz
lwn-1d8cca44b6a244b7e378546d719041819049a0f9.zip
byteorder: provide swabb.h generically in asm/byteorder.h
This is needed during the transition to the new byteorder headers as the swabb.h functionality will be provided from asm/byteorder.h in the new version. To avoid breakage on arches still using the old implementation, provide swabb.h from asm/byteorder.h as well. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/byteorder/big_endian.h')
-rw-r--r--include/linux/byteorder/big_endian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/byteorder/big_endian.h b/include/linux/byteorder/big_endian.h
index 44f95b92393b..1cba3f3efe5f 100644
--- a/include/linux/byteorder/big_endian.h
+++ b/include/linux/byteorder/big_endian.h
@@ -10,6 +10,7 @@
#include <linux/types.h>
#include <linux/byteorder/swab.h>
+#include <linux/byteorder/swabb.h>
#define __constant_htonl(x) ((__force __be32)(__u32)(x))
#define __constant_ntohl(x) ((__force __u32)(__be32)(x))