Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/arch/amd64/amd64 Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/c52c7a57288c
branches:  netbsd-6
changeset: 775758:c52c7a57288c
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Apr 20 09:59:39 2013 +0000

description:
Pull up following revision(s) (requested by taca in ticket #866):
        sys/arch/amd64/amd64/machdep.c: revision 1.193
Use printf_nolog() as i386 when print remaing bytes at crash dump to
prevent message buffer with cound down.

diffstat:

 sys/arch/amd64/amd64/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b5072a3e7cea -r c52c7a57288c sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c    Sat Apr 20 09:58:22 2013 +0000
+++ b/sys/arch/amd64/amd64/machdep.c    Sat Apr 20 09:59:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.175.2.7 2012/09/03 19:22:45 riz Exp $    */
+/*     $NetBSD: machdep.c,v 1.175.2.8 2013/04/20 09:59:39 bouyer Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.175.2.7 2012/09/03 19:22:45 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.175.2.8 2013/04/20 09:59:39 bouyer Exp $");
 
 /* #define XENDEBUG_LOW  */
 
@@ -1230,7 +1230,7 @@
        for (i = 0; i < bytes; i += n, dump_totalbytesleft -= n) {
                /* Print out how many MBs we have left to go. */
                if ((dump_totalbytesleft % (1024*1024)) == 0)
-                       printf("%lu ", (unsigned long)
+                       printf_nolog("%lu ", (unsigned long)
                            (dump_totalbytesleft / (1024 * 1024)));
 
                /* Limit size for next transfer. */



Home | Main Index | Thread Index | Old Index