commit | 7840e5e95c1a8622425f11454600a49b6c718886 | [log] [tgz] |
---|---|---|
author | Olaf Hering <olh@suse.de> | Wed Jun 08 15:12:00 2005 +1000 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Wed Jun 08 10:18:59 2005 -0700 |
tree | 52fdb9af6d424196231e78ec17842a24de1fa8c5 | |
parent | 35d1bc90546d1f0af198886ae8062a550142d926 [diff] |
[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 <olh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>