Source-Changes-HG archive

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

[src/yamt-km]: src/sys/arch/hp700/hp700 make this compilable again.



details:   https://anonhg.NetBSD.org/src/rev/8d9363565ad2
branches:  yamt-km
changeset: 573322:8d9363565ad2
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Feb 02 09:55:30 2005 +0000

description:
make this compilable again.

diffstat:

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

diffs (27 lines):

diff -r 68a32b126d09 -r 8d9363565ad2 sys/arch/hp700/hp700/mainbus.c
--- a/sys/arch/hp700/hp700/mainbus.c    Wed Feb 02 09:54:48 2005 +0000
+++ b/sys/arch/hp700/hp700/mainbus.c    Wed Feb 02 09:55:30 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.22.4.1 2005/01/31 12:25:33 yamt Exp $    */
+/*     $NetBSD: mainbus.c,v 1.22.4.2 2005/02/02 09:55:30 yamt Exp $    */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.22.4.1 2005/01/31 12:25:33 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.22.4.2 2005/02/02 09:55:30 yamt Exp $");
 
 #include "locators.h"
 
@@ -1282,7 +1282,7 @@
                return;
 
        size = round_page(size);
-       pmap_kremove(kva, size);
+       pmap_kremove((vaddr_t)kva, size);
        pmap_update(pmap_kernel());
        uvm_km_free(kernel_map, (vaddr_t)kva, size, UVM_KMF_VAONLY);
 }



Home | Main Index | Thread Index | Old Index