commit | 09640e6365c679b5642b1c41b6d7078f51689ddf | [log] [tgz] |
---|---|---|
author | Harvey Harrison <harvey.harrison@gmail.com> | Sun Feb 01 00:45:17 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 01 00:45:17 2009 -0800 |
tree | a2b80c153bd23fe59db8c6994fda29923819fcea | |
parent | ee437770c42088b9b653e8b3bf28a61fa647f84e [diff] [blame] |
net: replace uses of __constant_{endian} Base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 29a74c0..3f6b735 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c
@@ -1226,7 +1226,7 @@ */ static struct packet_type arp_packet_type = { - .type = __constant_htons(ETH_P_ARP), + .type = cpu_to_be16(ETH_P_ARP), .func = arp_rcv, };