summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/landisk/dev/obio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/landisk/dev/obio.c b/sys/arch/landisk/dev/obio.c
index a4b80cccf5c..c94ef48bf26 100644
--- a/sys/arch/landisk/dev/obio.c
+++ b/sys/arch/landisk/dev/obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: obio.c,v 1.3 2006/10/21 14:43:51 kettenis Exp $ */
+/* $OpenBSD: obio.c,v 1.4 2006/10/31 23:25:57 miod Exp $ */
/* $NetBSD: obio.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -248,7 +248,7 @@ obio_iomem_add_mapping(bus_addr_t bpa, bus_size_t size, int type,
panic("obio_iomem_add_mapping: overflow");
#endif
- va = uvm_km_alloc(kernel_map, endpa - pa);
+ va = uvm_km_valloc(kernel_map, endpa - pa);
if (va == 0){
printf("obio_iomem_add_mapping: nomem\n");
return (ENOMEM);