diff options
author | phk <phk@FreeBSD.org> | 2004-09-15 12:09:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-09-15 12:09:50 +0000 |
commit | 1795816cf766cbe770384eb50bb559e0d9fba2a6 (patch) | |
tree | 56e89a43c4b2e1186b0edeeb3e43382456e0543e /sys/vm | |
parent | fe0362c5d20c4b60c70d896778b722b144ded3ed (diff) | |
download | FreeBSD-src-1795816cf766cbe770384eb50bb559e0d9fba2a6.zip FreeBSD-src-1795816cf766cbe770384eb50bb559e0d9fba2a6.tar.gz |
Add new a function isa_dma_init() which returns an errno when it fails
and which takes a M_WAITOK/M_NOWAIT flag argument.
Add compatibility isa_dmainit() macro which whines loudly if
isa_dma_init() fails.
Problem uncovered by: tegge
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index e9adf50..91683a6 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -263,7 +263,7 @@ vm_page_startup(vm_offset_t vaddr) * Construct the free queue(s) in descending order (by physical * address) so that the first 16MB of physical memory is allocated * last rather than first. On large-memory machines, this avoids - * the exhaustion of low physical memory before isa_dmainit has run. + * the exhaustion of low physical memory before isa_dma_init has run. */ cnt.v_page_count = 0; cnt.v_free_count = 0; |