diff options
author | jchandra <jchandra@FreeBSD.org> | 2010-12-09 06:54:06 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2010-12-09 06:54:06 +0000 |
commit | 012e7effe8b74bcbabfe1dc56b95ee94e3ca056b (patch) | |
tree | 48fef2c8d96e563c7c41ea33192a31bcf762453e | |
parent | e7d2a75ec65e236cd2644c1c4bcc3bb16c729015 (diff) | |
download | FreeBSD-src-012e7effe8b74bcbabfe1dc56b95ee94e3ca056b.zip FreeBSD-src-012e7effe8b74bcbabfe1dc56b95ee94e3ca056b.tar.gz |
swi_vm() for mips.
-rw-r--r-- | sys/mips/mips/vm_machdep.c | 3 | ||||
-rw-r--r-- | sys/vm/vm_page.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/mips/mips/vm_machdep.c b/sys/mips/mips/vm_machdep.c index 73fab5a..b4059e6 100644 --- a/sys/mips/mips/vm_machdep.c +++ b/sys/mips/mips/vm_machdep.c @@ -538,6 +538,9 @@ sf_buf_free(struct sf_buf *sf) void swi_vm(void *dummy) { + + if (busdma_swi_pending) + busdma_swi(); } int diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 1208ea0..095c997 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -430,7 +430,7 @@ vm_page_startup(vm_offset_t vaddr) */ new_end = vm_reserv_startup(&vaddr, new_end, high_water); #endif -#if defined(__amd64__) || defined(__mips__) +#if defined(__amd64__) /* * pmap_map on amd64 and mips can come out of the direct-map, not kvm * like i386, so the pages must be tracked for a crashdump to include |