Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Remember to unmap pagezero once we've f...



details:   https://anonhg.NetBSD.org/src/rev/229e026cd2e8
branches:  trunk
changeset: 790676:229e026cd2e8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 19 13:21:43 2013 +0000

description:
Remember to unmap pagezero once we've finished with it. Found by gcc 4.8.

diffstat:

 sys/arch/hp700/hp700/autoconf.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 13d6c48f6d5f -r 229e026cd2e8 sys/arch/hp700/hp700/autoconf.c
--- a/sys/arch/hp700/hp700/autoconf.c   Sat Oct 19 13:18:03 2013 +0000
+++ b/sys/arch/hp700/hp700/autoconf.c   Sat Oct 19 13:21:43 2013 +0000
@@ -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 @@
        }
        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)



Home | Main Index | Thread Index | Old Index