From: Harro Haan Date: Mon, 10 Oct 2011 12:38:27 +0000 (+0200) Subject: USB: fix ehci alignment error X-Git-Tag: v3.0.9~247 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=7eede2cbc1066124a0a4fee4d9671e28f7c62277;p=karo-tx-linux.git 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 Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- 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 ... */