From: Olaf Hering Date: Wed, 8 Jun 2005 05:12:00 +0000 (+1000) Subject: [PATCH] ppc64: print negative numbers correctly in boot wrapper X-Git-Tag: v2.6.12~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7840e5e95c1a8622425f11454600a49b6c718886;p=pandora-kernel.git [PATCH] ppc64: print negative numbers correctly in boot wrapper if num has a value of -1, accessing the digits[] array will fail and the format string will be printed in funny way, or not at all. This happens if one prints negative numbers. Just change the code to match lib/vsprintf.c asm/div64.h cant be used because u64 maps to u32 for this build. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed