From 9da08bf187a13f204635079f3580c751be608160 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 25 Sep 1997 07:06:28 +0000 Subject: Add back that XXX i386-specific code as the old isadma code needs it. Sorry! --- sys/vm/vm_page.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index c2a2285d8db..4436f7c08c3 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_page.c,v 1.7 1997/09/22 20:44:52 niklas Exp $ */ +/* $OpenBSD: vm_page.c,v 1.8 1997/09/25 07:06:27 niklas Exp $ */ /* $NetBSD: vm_page.c,v 1.31 1997/06/06 23:10:23 thorpej Exp $ */ #define VM_PAGE_ALLOC_MEMORY_STATS @@ -444,6 +444,11 @@ pmap_steal_memory(size) { vm_offset_t addr, vaddr, paddr; +#ifdef i386 /* XXX i386 calls pmap_steal_memory before vm_mem_init() */ + if (cnt.v_page_size == 0) /* XXX */ + vm_set_page_size(); +#endif + /* * We round the size to an integer multiple. */ -- cgit v1.2.3