diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-10-27 11:20:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 09:10:02 -0800 |
commit | 3d396a3b21f381ffb651f481252508243c0325a6 (patch) | |
tree | bd23e1a5f659c3a42420fc4ef787c234b1ab9556 /tools/perf/scripts/python/syscall-counts.py | |
parent | bbf54d177037d268d9a744ee4c2add570ba8a9ad (diff) |
USB: workaround for bug in old version of GCC
commit 97ff22ee3b4cb3a334f7385e269773141aed702f upstream.
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 <stern@rowland.harvard.edu>
Reported-by: Konrad Rzepecki <krzepecki@dentonet.pl>
Tested-by: Konrad Rzepecki <krzepecki@dentonet.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions