]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/rdma/ib_mad.h
IB: Remove __constant_{endian} uses
[linux-2.6-omap-h63xx.git] / include / rdma / ib_mad.h
index 5f6c40fffcf4a35e617eb44bcba2049a243a036c..8cc71a130d1b4a916f1228e49e84fa8edd6ad673 100644 (file)
 #define        IB_MGMT_RMPP_STATUS_ABORT_MAX           127
 
 #define IB_QP0         0
-#define IB_QP1         __constant_htonl(1)
+#define IB_QP1         cpu_to_be32(1)
 #define IB_QP1_QKEY    0x80010000
 #define IB_QP_SET_QKEY 0x80000000