patch-2.3.47 linux/include/linux/byteorder/pdp_endian.h
Next file: linux/include/linux/dcache.h
Previous file: linux/include/linux/byteorder/little_endian.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Feb 17 09:20:13 2000
- Orig file:
v2.3.46/linux/include/linux/byteorder/pdp_endian.h
- Orig date:
Mon Jan 12 19:47:22 1998
diff -u --recursive --new-file v2.3.46/linux/include/linux/byteorder/pdp_endian.h linux/include/linux/byteorder/pdp_endian.h
@@ -34,6 +34,18 @@
#define __constant_ntohl(x) ___swahb32((x))
#define __constant_htons(x) ___swab16((x))
#define __constant_ntohs(x) ___swab16((x))
+#define __constant_cpu_to_le64(x) I DON'T KNOW
+#define __constant_le64_to_cpu(x) I DON'T KNOW
+#define __constant_cpu_to_le32(x) ___swahw32((x))
+#define __constant_le32_to_cpu(x) ___swahw32((x))
+#define __constant_cpu_to_le16(x) ((__u16)(x)
+#define __constant_le16_to_cpu(x) ((__u16)(x)
+#define __constant_cpu_to_be64(x) I DON'T KNOW
+#define __constant_be64_to_cpu(x) I DON'T KNOW
+#define __constant_cpu_to_be32(x) ___swahb32((x))
+#define __constant_be32_to_cpu(x) ___swahb32((x))
+#define __constant_cpu_to_be16(x) ___swab16((x))
+#define __constant_be16_to_cpu(x) ___swab16((x))
#define __cpu_to_le64(x) I DON'T KNOW
#define __le64_to_cpu(x) I DON'T KNOW
#define __cpu_to_le32(x) ___swahw32((x))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)