net: replace __constant_{endian} uses in net headers
Base versions handle constant folding now. For headers exposed to userspace, we must only expose the __ prefixed versions. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
35c26c2cf6
commit
f3a7c66b5c
@@ -46,7 +46,7 @@ extern int datagram_send_ctl(struct net *net,
|
||||
struct ipv6_txoptions *opt,
|
||||
int *hlimit, int *tclass);
|
||||
|
||||
#define LOOPBACK4_IPV6 __constant_htonl(0x7f000006)
|
||||
#define LOOPBACK4_IPV6 cpu_to_be32(0x7f000006)
|
||||
|
||||
/*
|
||||
* address family specific functions
|
||||
|
Reference in New Issue
Block a user