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:
parent
35c26c2cf6
commit
f3a7c66b5c
14 changed files with 101 additions and 101 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue