summaryrefslogtreecommitdiffstats
path: root/include/net/ipx.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-02-14 22:58:35 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-14 22:58:35 -0800
commitf3a7c66b5ce0b75a9774a50b5dcce93e5ba28370 (patch)
tree441f02ac10cb109cbb80fbd0d964af3638541f06 /include/net/ipx.h
parent35c26c2cf6a6a2d1c48add732d8ba002bd90784c (diff)
downloadtalos-obmc-linux-f3a7c66b5ce0b75a9774a50b5dcce93e5ba28370.tar.gz
talos-obmc-linux-f3a7c66b5ce0b75a9774a50b5dcce93e5ba28370.zip
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/ipx.h')
-rw-r--r--include/net/ipx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipx.h b/include/net/ipx.h
index 4cc0b4eca948..a14121dd1932 100644
--- a/include/net/ipx.h
+++ b/include/net/ipx.h
@@ -27,7 +27,7 @@ struct ipx_address {
struct ipxhdr {
__be16 ipx_checksum __attribute__ ((packed));
-#define IPX_NO_CHECKSUM __constant_htons(0xFFFF)
+#define IPX_NO_CHECKSUM cpu_to_be16(0xFFFF)
__be16 ipx_pktsize __attribute__ ((packed));
__u8 ipx_tctrl;
__u8 ipx_type;
OpenPOWER on IntegriCloud