]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/net/ipx.h
ARM: PL08x: fix locking between prepare function and submit function
[mv-sheeva.git] / include / net / ipx.h
index ef51a668ba191b6c2d3d4a62df21a6b47482c363..05d7e4a88b491edbd74420b5b4acac70aac7d71e 100644 (file)
@@ -27,9 +27,9 @@ struct ipx_address {
 #define IPX_MAX_PPROP_HOPS 8
 
 struct ipxhdr {
-       __be16                  ipx_checksum __attribute__ ((packed));
+       __be16                  ipx_checksum __packed;
 #define IPX_NO_CHECKSUM        cpu_to_be16(0xFFFF)
-       __be16                  ipx_pktsize __attribute__ ((packed));
+       __be16                  ipx_pktsize __packed;
        __u8                    ipx_tctrl;
        __u8                    ipx_type;
 #define IPX_TYPE_UNKNOWN       0x00
@@ -38,8 +38,8 @@ struct ipxhdr {
 #define IPX_TYPE_SPX           0x05    /* SPX protocol */
 #define IPX_TYPE_NCP           0x11    /* $lots for docs on this (SPIT) */
 #define IPX_TYPE_PPROP         0x14    /* complicated flood fill brdcast */
-       struct ipx_address      ipx_dest __attribute__ ((packed));
-       struct ipx_address      ipx_source __attribute__ ((packed));
+       struct ipx_address      ipx_dest __packed;
+       struct ipx_address      ipx_source __packed;
 };
 
 static __inline__ struct ipxhdr *ipx_hdr(struct sk_buff *skb)