diff options
| author | Harro Haan <hrhaan@gmail.com> | 2011-10-10 08:38:27 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 12:35:16 -0500 |
| commit | 7eede2cbc1066124a0a4fee4d9671e28f7c62277 (patch) | |
| tree | 538804b241ed227c23f89164dc39bad6eb811e3a /include/linux/usb | |
| parent | cd0712116761eed1500b2272a5492d2120c30f26 (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/linux/usb')
| -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 0097136ba45..c0ecc5a2ef9 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 ... */ |
