summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-06-08 15:12:00 +1000
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-08 10:18:59 -0700
commit7840e5e95c1a8622425f11454600a49b6c718886 (patch)
tree52fdb9af6d424196231e78ec17842a24de1fa8c5 /drivers
parent35d1bc90546d1f0af198886ae8062a550142d926 (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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions