]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vsprintf-further-optimize-decimal-conversion-v2
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 May 2012 05:44:19 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:45 +0000 (15:46 +1000)
commit9bb95ea1130503ec6ec1295deedf971367134e4b
tree85585e4520d512ecc28c86b55b1dd0cef67bacb7
parent2f93d54a5a27446c9356d512b7fdb613d5a382ea
vsprintf-further-optimize-decimal-conversion-v2

Here is a new version. I also plugged a hole in num_to_str() -
it was assuming it's safe to call put_dec() for num=0.
(We never tripped over it before because the single caller
of num_to_str() takes care of that case).

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Douglas W Jones <jones@cs.uiowa.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/asm-generic/bitsperlong.h
lib/vsprintf.c