diff options
| author | Harro Haan <hrhaan@gmail.com> | 2011-10-10 08:38:27 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-10 19:43:53 -0400 |
| commit | 276532ba9666b36974cbe16f303fc8be99c9da17 (patch) | |
| tree | d87925d2d7cf43653a7ba9d1db572e3ea561576c /include/linux | |
| parent | 74bdf22b5c3858b06af46f19d05c23e76c40a3bb (diff) | |
USB: fix ehci alignment error
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>
Cc: stable <stable@kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/hcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index a4cd6c58870a..03354d557b79 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h | |||
| @@ -178,7 +178,7 @@ struct usb_hcd { | |||
| 178 | * this structure. | 178 | * this structure. |
| 179 | */ | 179 | */ |
| 180 | unsigned long hcd_priv[0] | 180 | unsigned long hcd_priv[0] |
| 181 | __attribute__ ((aligned(sizeof(unsigned long)))); | 181 | __attribute__ ((aligned(sizeof(s64)))); |
| 182 | }; | 182 | }; |
| 183 | 183 | ||
| 184 | /* 2.4 does this a bit differently ... */ | 184 | /* 2.4 does this a bit differently ... */ |
