Module Name:    src
Committed By:   bouyer
Date:           Sun Oct 20 13:45:46 UTC 2013

Modified Files:
        src/sys/arch/hp700/hp700 [netbsd-6]: autoconf.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #973):
        sys/arch/hp700/hp700/autoconf.c: revision 1.51
Remember to unmap pagezero once we've finished with it. Found by gcc 4.8.


To generate a diff of this commit:
cvs rdiff -u -r1.44.2.1 -r1.44.2.2 src/sys/arch/hp700/hp700/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/hp700/autoconf.c
diff -u src/sys/arch/hp700/hp700/autoconf.c:1.44.2.1 src/sys/arch/hp700/hp700/autoconf.c:1.44.2.2
--- src/sys/arch/hp700/hp700/autoconf.c:1.44.2.1	Wed Aug  8 15:51:10 2012
+++ src/sys/arch/hp700/hp700/autoconf.c	Sun Oct 20 13:45:46 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.44.2.1 2012/08/08 15:51:10 martin Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.44.2.2 2013/10/20 13:45:46 bouyer Exp $	*/
 
 /*	$OpenBSD: autoconf.c,v 1.15 2001/06/25 00:43:10 mickey Exp $	*/
 
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.44.2.1 2012/08/08 15:51:10 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.44.2.2 2013/10/20 13:45:46 bouyer Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_useleds.h"
@@ -474,6 +474,8 @@ cpu_rootconf(void)
 	}
 	printf("dp_flags 0x%x pz_class 0x%x\n", PAGE0->mem_boot.pz_dp.dp_flags,
 	    PAGE0->mem_boot.pz_class);
+
+	hp700_pagezero_unmap(pagezero_cookie);
 #endif /* DEBUG */
 
 	if (boot_device != NULL)

Reply via email to