Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 revert machdep.c rev. 1.168 because it'...



details:   https://anonhg.NetBSD.org/src/rev/87ddb56a74d1
branches:  trunk
changeset: 771436:87ddb56a74d1
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Nov 20 18:42:56 2011 +0000

description:
revert machdep.c rev. 1.168 because it's likely to have the same problem
as i386's one.
http://mail-index.NetBSD.org/source-changes-d/2011/11/19/msg004283.html

diffstat:

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

diffs (26 lines):

diff -r 3abebbc51c6a -r 87ddb56a74d1 sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c    Sun Nov 20 18:41:12 2011 +0000
+++ b/sys/arch/amd64/amd64/machdep.c    Sun Nov 20 18:42:56 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.170 2011/11/10 00:12:04 jym Exp $        */
+/*     $NetBSD: machdep.c,v 1.171 2011/11/20 18:42:56 yamt 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.170 2011/11/10 00:12:04 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.171 2011/11/20 18:42:56 yamt Exp $");
 
 /* #define XENDEBUG_LOW  */
 
@@ -1182,7 +1182,6 @@
                pmap_update(pmap_kernel());
 
                error = (*dump)(dumpdev, blkno, (void *)dumpspace, n);
-               pmap_kremove(dumpspace, n * PAGE_SIZE);
                if (error)
                        return error;
                maddr += n;



Home | Main Index | Thread Index | Old Index