diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-09-25 07:06:28 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-09-25 07:06:28 +0000 |
commit | 9da08bf187a13f204635079f3580c751be608160 (patch) | |
tree | 19b67fc9e27017ac8c390d7cd6bde8f747fbb867 /sys | |
parent | d6695b40837a61393249e4513535e1adfd1cd9b0 (diff) |
Add back that XXX i386-specific code as the old isadma code needs it. Sorry!
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_page.c | 7 |
1 files changed, 6 insertions, 1 deletions
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. */ |