From b1f5f1d3b01fa9c8337c19249b2372164db3bb94 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 12 Jul 2009 16:04:28 +0000 Subject: ag71xx driver: descriptors always aligned on 4 byte boundary SVN-Revision: 16818 --- target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') 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; -- cgit v1.2.3