]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/bonding/bond_3ad.h
net: replace uses of __constant_{endian}
[net-next-2.6.git] / drivers / net / bonding / bond_3ad.h
index 8a83eb283c21c8abecb64047be80a72faaa611b5..a306230381c8f69c0ba83523430a16cfb1bef8a3 100644 (file)
@@ -29,7 +29,7 @@
 
 // General definitions
 #define BOND_ETH_P_LACPDU       0x8809
-#define PKT_TYPE_LACPDU         __constant_htons(BOND_ETH_P_LACPDU)
+#define PKT_TYPE_LACPDU         cpu_to_be16(BOND_ETH_P_LACPDU)
 #define AD_TIMER_INTERVAL       100 /*msec*/
 
 #define MULTICAST_LACPDU_ADDR    {0x01, 0x80, 0xC2, 0x00, 0x00, 0x02}