commit | 72675479925f53af051ae8a78bcfafeaa47b3eef | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Fri Sep 28 16:01:40 2012 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 22 08:57:43 2012 -0700 |
tree | 565aa9eda9af359c7a3fcef4c6dd11d532d38b8e | |
parent | 98cae42d82fe9c9e2b5dacdf391edaa007e147e5 [diff] |
EHCI: replace mult/div with bit-mask operation This patch (as1610) replaces multiplication and divison operations in ehci-hcd's isochronous scheduling code with a bit-mask operation, taking advantage of the fact that isochronous periods are always powers of 2. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>