linux/generic: switch to userspace __aligned_u64 calls. http://git.kernel.org/?p...
authorAlexandros C. Couloumbis <alex@ozo.com>
Tue, 16 Nov 2010 08:00:07 +0000 (08:00 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Tue, 16 Nov 2010 08:00:07 +0000 (08:00 +0000)
SVN-Revision: 24012

target/linux/generic/patches-2.6.36/031-aligned_u64.patch [new file with mode: 0644]

diff --git a/target/linux/generic/patches-2.6.36/031-aligned_u64.patch b/target/linux/generic/patches-2.6.36/031-aligned_u64.patch
new file mode 100644 (file)
index 0000000..d0851d8
--- /dev/null
@@ -0,0 +1,25 @@
+--- a/include/linux/if_ppp.h
++++ b/include/linux/if_ppp.h
+@@ -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