Module Name:    src
Committed By:   skrll
Date:           Sat Oct 19 13:21:43 UTC 2013

Modified Files:
        src/sys/arch/hp700/hp700: autoconf.c

Log Message:
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.50 -r1.51 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.50 src/sys/arch/hp700/hp700/autoconf.c:1.51
--- src/sys/arch/hp700/hp700/autoconf.c:1.50	Sat Oct 27 17:17:52 2012
+++ src/sys/arch/hp700/hp700/autoconf.c	Sat Oct 19 13:21:43 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.50 2012/10/27 17:17:52 chs Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.51 2013/10/19 13:21:43 skrll 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.50 2012/10/27 17:17:52 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.51 2013/10/19 13:21:43 skrll Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_useleds.h"
@@ -471,6 +471,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