diff options
author | Alan Stern <[email protected]> | 2011-10-27 11:20:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-11-14 13:47:47 -0800 |
commit | 97ff22ee3b4cb3a334f7385e269773141aed702f (patch) | |
tree | 89f7c12ef4cc757305d7a741345e0f2531c12565 /tools/perf/scripts/python/sched-migration.py | |
parent | 583182ba5f02c8c9be82ea550f2051eaec15b975 (diff) |
USB: workaround for bug in old version of GCC
This patch (as1491) works around a bug in GCC-3.4.6, which is still
supposed to be supported. The number of microseconds in the udelay()
call in quirk_usb_disable_ehci() is fixed at 100, but the compiler
doesn't understand this and generates a link-time error. So we
replace the otherwise unused variable "delta" with a simple constant
100. This same pattern is already used in other delay loops in that
source file.
Signed-off-by: Alan Stern <[email protected]>
Reported-by: Konrad Rzepecki <[email protected]>
Tested-by: Konrad Rzepecki <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions