projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e147763
)
r6040: use __aligned(size)
author
Florian Fainelli
<florian@openwrt.org>
Wed, 4 Jan 2012 08:59:37 +0000
(08:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Jan 2012 20:55:53 +0000
(15:55 -0500)
instead of __attribute__((__aligned(size)__))
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/rdc/r6040.c
b/drivers/net/ethernet/rdc/r6040.c
index e9054a9e5ec3c2dacef10fe164940dbc274f3249..b8dc7276adac7383ec58ee8afe9587cd870d70a5 100644
(file)
--- a/
drivers/net/ethernet/rdc/r6040.c
+++ b/
drivers/net/ethernet/rdc/r6040.c
@@
-173,7
+173,7
@@
struct r6040_descriptor {
struct r6040_descriptor *vndescp; /* 14-17 */
struct sk_buff *skb_ptr; /* 18-1B */
u32 rev2; /* 1C-1F */
-} __a
ttribute__((aligned(32))
);
+} __a
ligned(32
);
struct r6040_private {
spinlock_t lock; /* driver lock */