Source-Changes-HG archive

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

[src/yamt-km]: src/sys/arch/cesfic/cesfic convert arch/cesfic to new apis.



details:   https://anonhg.NetBSD.org/src/rev/1035ad2945dc
branches:  yamt-km
changeset: 573304:1035ad2945dc
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Jan 26 12:13:05 2005 +0000

description:
convert arch/cesfic to new apis.

diffstat:

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

diffs (27 lines):

diff -r b0370f382d9f -r 1035ad2945dc sys/arch/cesfic/cesfic/autoconf.c
--- a/sys/arch/cesfic/cesfic/autoconf.c Wed Jan 26 12:10:35 2005 +0000
+++ b/sys/arch/cesfic/cesfic/autoconf.c Wed Jan 26 12:13:05 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.11 2004/10/23 17:07:38 thorpej Exp $    */
+/*     $NetBSD: autoconf.c,v 1.11.6.1 2005/01/26 12:13:05 yamt Exp $   */
 
 /*
  * Copyright (c) 1997, 1999
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.11 2004/10/23 17:07:38 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.11.6.1 2005/01/26 12:13:05 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -131,7 +131,7 @@
                panic("bus_mem_add_mapping: overflow");
 #endif
 
-       va = uvm_km_valloc(kernel_map, endpa - pa);
+       va = uvm_km_alloc(kernel_map, endpa - pa, 0, UVM_KMF_VAONLY);
        if (va == 0)
                return (ENOMEM);
 



Home | Main Index | Thread Index | Old Index