nfs: replace uses of __constant_{endian}
[safe/jmp/linux-2.6] / include / linux / lockd / xdr4.h
index 12bfe09..7353821 100644 (file)
 #include <linux/lockd/xdr.h>
 
 /* error codes new to NLMv4 */
-#define        nlm4_deadlock           __constant_htonl(NLM_DEADLCK)
-#define        nlm4_rofs               __constant_htonl(NLM_ROFS)
-#define        nlm4_stale_fh           __constant_htonl(NLM_STALE_FH)
-#define        nlm4_fbig               __constant_htonl(NLM_FBIG)
-#define        nlm4_failed             __constant_htonl(NLM_FAILED)
+#define        nlm4_deadlock           cpu_to_be32(NLM_DEADLCK)
+#define        nlm4_rofs               cpu_to_be32(NLM_ROFS)
+#define        nlm4_stale_fh           cpu_to_be32(NLM_STALE_FH)
+#define        nlm4_fbig               cpu_to_be32(NLM_FBIG)
+#define        nlm4_failed             cpu_to_be32(NLM_FAILED)