mirror of https://gitee.com/openkylin/linux.git
r6040: use __aligned(size)
instead of __attribute__((__aligned(size)__)) Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e147763796
commit
853d5dc95b
|
@ -173,7 +173,7 @@ struct r6040_descriptor {
|
|||
struct r6040_descriptor *vndescp; /* 14-17 */
|
||||
struct sk_buff *skb_ptr; /* 18-1B */
|
||||
u32 rev2; /* 1C-1F */
|
||||
} __attribute__((aligned(32)));
|
||||
} __aligned(32);
|
||||
|
||||
struct r6040_private {
|
||||
spinlock_t lock; /* driver lock */
|
||||
|
|
Loading…
Reference in New Issue