diff options
author | Ulrich Hecht | 2011-05-25 03:07:22 +0200 |
---|---|---|
committer | David S. Miller | 2011-05-25 23:55:32 +0200 |
commit | d10358de8d70aaeb965a974d56e9b72f6c6dbb3a (patch) | |
tree | aab8f6c7a38cf1228866ea844aea44e4e823fd36 /drivers/isdn | |
parent | xen: netfront: hold RTNL when updating features. (diff) | |
download | kernel-qcow2-linux-d10358de8d70aaeb965a974d56e9b72f6c6dbb3a.tar.gz kernel-qcow2-linux-d10358de8d70aaeb965a974d56e9b72f6c6dbb3a.tar.xz kernel-qcow2-linux-d10358de8d70aaeb965a974d56e9b72f6c6dbb3a.zip |
via-velocity: don't annotate MAC registers as packed
On ARM, memory accesses through packed pointers behave in unexpected
ways in GCC releases 4.3 and higher; see https://lkml.org/lkml/2011/2/2/163
for discussion.
In this particular case, 32-bit I/O registers are accessed bytewise,
causing incorrect setting of the DMA address registers which in turn
leads to an error interrupt storm that brings the system to a halt.
Since the mac_regs structure does not need any packing anyway, this patch
simply removes the attribute to fix the issue.
Signed-off-by: Ulrich Hecht <uli@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions