X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fnet%2Fipx.h;h=a14121dd19320365a54f9bb62ee88af23b00b11e;hb=ed40d0c472b136682b2fcba05f89762859c7374f;hp=4cc0b4eca948b471159b29f1f6f7459d8989bd17;hpb=18062a91d2ddc40e19fc674afeb7cad58cfa23ab;p=mv-sheeva.git diff --git a/include/net/ipx.h b/include/net/ipx.h index 4cc0b4eca94..a14121dd193 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;