diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-10-26 18:17:17 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-10-26 18:17:17 +0000 |
commit | 919bd25fe85856b40334bde8867c443ce833b7bd (patch) | |
tree | f35709cad7bf8e6057d6362b08a57758174360d9 /sys | |
parent | c4add23523d6596e46b1b8e4c031c0e8f4afd91f (diff) |
uvm_km_valloc -> km_alloc
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/dev/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c index 15c07e44f77..e789becd742 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.69 2014/07/12 18:44:43 tedu Exp $ */ +/* $OpenBSD: iommu.c,v 1.70 2014/10/26 18:17:16 kettenis Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -176,7 +176,7 @@ iommu_init(char *name, struct iommu_state *is, int tsbsize, u_int32_t iovabase) (paddr_t)PAGE_SIZE, (paddr_t)0, &mlist, 1, UVM_PLA_NOWAIT) != 0) panic("iommu_init: no memory"); - va = uvm_km_valloc(kernel_map, size); + va = (vaddr_t)km_alloc(size, &kv_any, &kp_none, &kd_nowait); if (va == 0) panic("iommu_init: no memory"); is->is_tsb = (int64_t *)va; |