From aa93efedd83df243f689b47d4fe7e53225a9e0c1 Mon Sep 17 00:00:00 2001 From: "Jayachandran C." Date: Thu, 9 Dec 2010 06:54:06 +0000 Subject: [PATCH] swi_vm() for mips. --- sys/mips/mips/vm_machdep.c | 3 +++ sys/vm/vm_page.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/mips/mips/vm_machdep.c b/sys/mips/mips/vm_machdep.c index 73fab5a6c54..b4059e65f7f 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 1208ea07fb5..095c9976257 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