diff options
| author | Alan Stern <[email protected]> | 2010-07-14 11:03:36 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-08-10 14:35:40 -0700 |
| commit | bccbefaae050186bed3bcc74b1fd1a9b8c6710b2 (patch) | |
| tree | 26f1da2850c372bd78e733d7b14006d86abb5b0d /tools/perf/scripts/python | |
| parent | ae68a83bdc1971cb02fefc7a686ba6d077065e71 (diff) | |
USB: EHCI: simplify remainder computations
This patch (as1406) adds a micro-optimization to ehci-hcd's scheduling
code. Instead of computing remainders with respect to the schedule
length, use bitwise-and (which is quicker). We know that the schedule
length will always be a power of two, but the compiler doesn't have
this information.
Signed-off-by: Alan Stern <[email protected]>
CC: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions