[Stgt-devel] [PATCH 05/20] iser cpu to be 64
Pete Wyckoff
pw
Tue Oct 16 17:19:05 CEST 2007
Define underscore-free 64-bit versions of CPU to big-endian conversions,
for consistency with the rest of iscsi.
Signed-off-by: Pete Wyckoff <pw at osc.edu>
---
usr/iscsi/iscsid.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/iscsi/iscsid.h b/usr/iscsi/iscsid.h
index a8c8cb1..2f6c7c8 100644
--- a/usr/iscsi/iscsid.h
+++ b/usr/iscsi/iscsid.h
@@ -33,8 +33,10 @@
#define cpu_to_be16(x) __cpu_to_be16(x)
#define cpu_to_be32(x) __cpu_to_be32(x)
+#define cpu_to_be64(x) __cpu_to_be64(x)
#define be16_to_cpu(x) __be16_to_cpu(x)
#define be32_to_cpu(x) __be32_to_cpu(x)
+#define be64_to_cpu(x) __be64_to_cpu(x)
#define ISCSI_NAME_LEN 256
--
1.5.3.4
More information about the stgt
mailing list