diff options
author | George Spelvin <[email protected]> | 2012-10-04 17:12:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-10-06 03:04:48 +0900 |
commit | 2359172a75986359ce9cf041a9aca6a32cdf8779 (patch) | |
tree | bc5a80e6153d9c3cf749b7ec4f79874d8b321fe7 /net/lapb/lapb_timer.c | |
parent | e49317d415f5a44bad8377a208d61902d752303e (diff) |
lib: vsprintf: optimize division by 10000
The same multiply-by-inverse technique can be used to convert division by
10000 to a 32x32->64-bit multiply.
Signed-off-by: George Spelvin <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions