diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-02-15 09:58:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-15 09:58:35 +0300 |
commit | f3a7c66b5ce0b75a9774a50b5dcce93e5ba28370 (patch) | |
tree | 441f02ac10cb109cbb80fbd0d964af3638541f06 /include/net/transp_v6.h | |
parent | 35c26c2cf6a6a2d1c48add732d8ba002bd90784c (diff) | |
download | linux-f3a7c66b5ce0b75a9774a50b5dcce93e5ba28370.tar.xz |
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>
Diffstat (limited to 'include/net/transp_v6.h')
-rw-r--r-- | include/net/transp_v6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h index 876b6f2bb4fd..bfb240c6cf79 100644 --- a/include/net/transp_v6.h +++ b/include/net/transp_v6.h @@ -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 |