Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh5/sh5 Oops, free bus space via uvm_km_free() inst...



details:   https://anonhg.NetBSD.org/src/rev/c1d7c32ebe9a
branches:  trunk
changeset: 536022:c1d7c32ebe9a
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Sep 04 14:39:56 2002 +0000

description:
Oops, free bus space via uvm_km_free() instead of pmap_kremove().

diffstat:

 sys/arch/sh5/sh5/bus_space.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5dc1ac265194 -r c1d7c32ebe9a sys/arch/sh5/sh5/bus_space.c
--- a/sys/arch/sh5/sh5/bus_space.c      Wed Sep 04 14:37:53 2002 +0000
+++ b/sys/arch/sh5/sh5/bus_space.c      Wed Sep 04 14:39:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.c,v 1.2 2002/08/26 10:35:40 scw Exp $        */
+/*     $NetBSD: bus_space.c,v 1.3 2002/09/04 14:39:56 scw Exp $        */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -298,7 +298,7 @@
                return;
        }
 
-       pmap_kremove(va, size);
+       uvm_km_free(kernel_map, va, size);
 }
 
 /*ARGSUSED*/



Home | Main Index | Thread Index | Old Index