]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vsprintf-further-optimize-decimal-conversion-v2
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 25 Apr 2012 01:03:56 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:30 +0000 (15:17 +1000)
commitcda3526be8ccdee9b35a7a645c378c12c1a1b907
tree6a8e8312835d4d83b1c3b933fc2cb51c0214ba7c
parentf2dc5865b33cfd0e9e203f9c32873d45466813d7
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