git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: replace __constant_{endian} uses in net headers
[pandora-kernel.git]
/
include
/
net
/
ipx.h
diff --git
a/include/net/ipx.h
b/include/net/ipx.h
index
4cc0b4e
..
a14121d
100644
(file)
--- 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;