summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHarro Haan <hrhaan@gmail.com>2011-10-10 14:38:27 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:42:20 -0800
commitad758ade42246e5339491d6b902964cc4b7d40cd (patch)
tree7c6d3b105ea4b0219f592aea6d99ed021203744e /include
parent0e8749ebf69099c00e2cd618e2ba725147cd56ff (diff)
USB: fix ehci alignment error
commit 276532ba9666b36974cbe16f303fc8be99c9da17 upstream. The Kirkwood gave an unaligned memory access error on line 742 of drivers/usb/host/echi-hcd.c: "ehci->last_periodic_enable = ktime_get_real();" Signed-off-by: Harro Haan <hrhaan@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 0097136ba45d..c0ecc5a2ef9e 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -178,7 +178,7 @@ struct usb_hcd {
* this structure.
*/
unsigned long hcd_priv[0]
- __attribute__ ((aligned(sizeof(unsigned long))));
+ __attribute__ ((aligned(sizeof(s64))));
};
/* 2.4 does this a bit differently ... */