]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/xfrm4_policy.c
net: replace uses of __constant_{endian}
[net-next-2.6.git] / net / ipv4 / xfrm4_policy.c
index 2ad24ba31f9de591df4305d7b3d406318ec18976..60d918c96a4fff19c0d4062558ea8c594fa9bef2 100644 (file)
@@ -241,7 +241,7 @@ static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev,
 
 static struct dst_ops xfrm4_dst_ops = {
        .family =               AF_INET,
-       .protocol =             __constant_htons(ETH_P_IP),
+       .protocol =             cpu_to_be16(ETH_P_IP),
        .gc =                   xfrm4_garbage_collect,
        .update_pmtu =          xfrm4_update_pmtu,
        .destroy =              xfrm4_dst_destroy,