summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/cow.h
diff options
context:
space:
mode:
authorRoland Dreier2005-07-28 04:12:56 +0200
committerRoland Dreier2005-07-28 04:12:56 +0200
commit2868bd281fef21d1e73d6b7648a41efc3d75f10c (patch)
tree0ad821cfcc9e3f9e8b662d026bec6bb6d4ce69ac /arch/um/drivers/cow.h
parent[IB/mthca]: Use io_remap_pfn_range for PCI space (diff)
parent[PATCH] new alpha syscalls (diff)
downloadkernel-qcow2-linux-2868bd281fef21d1e73d6b7648a41efc3d75f10c.tar.gz
kernel-qcow2-linux-2868bd281fef21d1e73d6b7648a41efc3d75f10c.tar.xz
kernel-qcow2-linux-2868bd281fef21d1e73d6b7648a41efc3d75f10c.zip
Merge /scratch/Ksrc/linux-git/
Diffstat (limited to 'arch/um/drivers/cow.h')
-rw-r--r--arch/um/drivers/cow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/cow.h b/arch/um/drivers/cow.h
index 4fcbe8b1b77e..4fcf3a8d13f4 100644
--- a/arch/um/drivers/cow.h
+++ b/arch/um/drivers/cow.h
@@ -3,10 +3,10 @@
#include <asm/types.h>
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if defined(__BIG_ENDIAN)
# define ntohll(x) (x)
# define htonll(x) (x)
-#elif __BYTE_ORDER == __LITTLE_ENDIAN
+#elif defined(__LITTLE_ENDIAN)
# define ntohll(x) bswap_64(x)
# define htonll(x) bswap_64(x)
#else