From: George Spelvin Date: Fri, 5 Oct 2012 00:12:29 +0000 (-0700) Subject: lib: vsprintf: optimize division by 10000 X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~12^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2359172a75986359ce9cf041a9aca6a32cdf8779;p=pandora-kernel.git 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 Cc: Denys Vlasenko Cc: Michal Nazarewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed