aboutsummaryrefslogtreecommitdiffstats
path: root/kerncompat.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-12 16:22:34 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-12 16:22:34 -0400
commitb2e2afd7b4f10536f10771bd6ba2b0a98357d481 (patch)
treebcef398230660d8c3387220404bc9cd8431dc3f6 /kerncompat.h
parentce3b109650062fe94c900f4b153835f2f3b600cc (diff)
downloadbtrfs-progs-b2e2afd7b4f10536f10771bd6ba2b0a98357d481.tar.gz
btrfs-progs-b2e2afd7b4f10536f10771bd6ba2b0a98357d481.tar.xz
btrfs-progs-b2e2afd7b4f10536f10771bd6ba2b0a98357d481.zip
struct key endian fixes
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kerncompat.h b/kerncompat.h
index 54cf70e..56239b9 100644
--- a/kerncompat.h
+++ b/kerncompat.h
@@ -69,8 +69,6 @@ static inline void __clear_bit(int bit, unsigned long *map) {
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - __builtin_offsetof(type,member) );})
-#endif
-
#define ENOMEM 5
#define EEXIST 6
@@ -94,3 +92,4 @@ typedef u64 __bitwise __be64;
#define le32_to_cpu(x) ((__force u32)(__le32)(x))
#define cpu_to_le16(x) ((__force __le16)(u16)(x))
#define le16_to_cpu(x) ((__force u16)(__le16)(x))
+#endif