]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
headers: use __aligned_xx types for userspace
authorMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:50:37 +0000 (08:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Mar 2011 22:14:45 +0000 (15:14 -0700)
Now that we finally have __aligned_xx exported to userspace, convert
the headers that get exported over to the proper type.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_ppp.h
include/linux/netfilter/nfnetlink_log.h
include/linux/netfilter/nfnetlink_queue.h
include/linux/netfilter/xt_connbytes.h
include/linux/netfilter/xt_quota.h

index fcef103aa3f602cb80c1609432911de1eee0b36b..c9ad383225763abc92d811e0011e4a7b3016f485 100644 (file)
@@ -114,14 +114,14 @@ struct pppol2tp_ioc_stats {
        __u16           tunnel_id;      /* redundant */
        __u16           session_id;     /* if zero, get tunnel stats */
        __u32           using_ipsec:1;  /* valid only for session_id == 0 */
-       aligned_u64     tx_packets;
-       aligned_u64     tx_bytes;
-       aligned_u64     tx_errors;
-       aligned_u64     rx_packets;
-       aligned_u64     rx_bytes;
-       aligned_u64     rx_seq_discards;
-       aligned_u64     rx_oos_packets;
-       aligned_u64     rx_errors;
+       __aligned_u64   tx_packets;
+       __aligned_u64   tx_bytes;
+       __aligned_u64   tx_errors;
+       __aligned_u64   rx_packets;
+       __aligned_u64   rx_bytes;
+       __aligned_u64   rx_seq_discards;
+       __aligned_u64   rx_oos_packets;
+       __aligned_u64   rx_errors;
 };
 
 #define ifr__name       b.ifr_ifrn.ifrn_name
index ea9b8d3805272cdf0378374ef59b3ffaeea67876..90c2c9575bac371e95a69874c4b217d66a8b9ea6 100644 (file)
@@ -28,8 +28,8 @@ struct nfulnl_msg_packet_hw {
 };
 
 struct nfulnl_msg_packet_timestamp {
-       aligned_be64    sec;
-       aligned_be64    usec;
+       __aligned_be64  sec;
+       __aligned_be64  usec;
 };
 
 enum nfulnl_attr_type {
index 2455fe5f4e016938a68c63f1626ea633bde1a46e..af94e0014ebdf380262357bf9f679a838a10fe28 100644 (file)
@@ -25,8 +25,8 @@ struct nfqnl_msg_packet_hw {
 };
 
 struct nfqnl_msg_packet_timestamp {
-       aligned_be64    sec;
-       aligned_be64    usec;
+       __aligned_be64  sec;
+       __aligned_be64  usec;
 };
 
 enum nfqnl_attr_type {
index 92fcbb0d193eaca99c62c4362f0bf6b1c2217efb..f1d6c15bd9e37edce2efa073424dee386984367e 100644 (file)
@@ -17,8 +17,8 @@ enum xt_connbytes_direction {
 
 struct xt_connbytes_info {
        struct {
-               aligned_u64 from;       /* count to be matched */
-               aligned_u64 to;         /* count to be matched */
+               __aligned_u64 from;     /* count to be matched */
+               __aligned_u64 to;       /* count to be matched */
        } count;
        __u8 what;              /* ipt_connbytes_what */
        __u8 direction; /* ipt_connbytes_direction */
index ca6e03e47a17ca08bae40f4cf5a66292d4fc38ca..9314723f39ca19bb4f257e60f711ffedaaa52ee1 100644 (file)
@@ -13,7 +13,7 @@ struct xt_quota_priv;
 struct xt_quota_info {
        __u32 flags;
        __u32 pad;
-       aligned_u64 quota;
+       __aligned_u64 quota;
 
        /* Used internally by the kernel */
        struct xt_quota_priv    *master;