Source-Changes-HG archive

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

[src/yamt-km]: src/sys/arch/sparc/sparc use new apis.



details:   https://anonhg.NetBSD.org/src/rev/19fcc6787d15
branches:  yamt-km
changeset: 573335:19fcc6787d15
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Feb 12 14:35:03 2005 +0000

description:
use new apis.

diffstat:

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

diffs (27 lines):

diff -r 9a3d563cf36f -r 19fcc6787d15 sys/arch/sparc/sparc/iommu.c
--- a/sys/arch/sparc/sparc/iommu.c      Sat Feb 12 12:26:27 2005 +0000
+++ b/sys/arch/sparc/sparc/iommu.c      Sat Feb 12 14:35:03 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iommu.c,v 1.80 2004/04/28 12:38:19 pk Exp $ */
+/*     $NetBSD: iommu.c,v 1.80.6.1 2005/02/12 14:35:03 yamt Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.80 2004/04/28 12:38:19 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.80.6.1 2005/02/12 14:35:03 yamt Exp $");
 
 #include "opt_sparc_arch.h"
 
@@ -230,7 +230,7 @@
                            size, 0, &mlist, 1, 0) != 0)
                panic("iommu_attach: no memory");
 
-       va = uvm_km_valloc(kernel_map, size);
+       va = uvm_km_alloc(kernel_map, size, 0, UVM_KMF_VAONLY);
        if (va == 0)
                panic("iommu_attach: no memory");
 



Home | Main Index | Thread Index | Old Index