From: juhosg Date: Sun, 12 Jul 2009 16:04:28 +0000 (+0000) Subject: [ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary X-Git-Tag: fast2504n-3.10.28-merged~15142 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=76604034e6584928b77dcd1f23849b8394e910f7;p=openwrt.git [ar71xx] ag71xx driver: descriptors always aligned on 4 byte boundary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16818 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h index d012b73937..843fc4cc9c 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h @@ -85,7 +85,7 @@ struct ag71xx_desc { #define DESC_PKTLEN_M 0xfff u32 next; u32 pad; -}; +} __attribute__((aligned(4))); struct ag71xx_buf { struct sk_buff *skb;