From: Gabor Juhos Date: Sun, 12 Jul 2009 16:04:28 +0000 (+0000) Subject: ag71xx driver: descriptors always aligned on 4 byte boundary X-Git-Tag: reboot~22973 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b1f5f1d3b01fa9c8337c19249b2372164db3bb94;p=openwrt%2Fstaging%2Flynxis.git ag71xx driver: descriptors always aligned on 4 byte boundary SVN-Revision: 16818 --- 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;