summaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/vmbus
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2018-08-25 19:38:08 +0000
committerAlan Cox <alc@FreeBSD.org>2018-08-25 19:38:08 +0000
commit49bfa624ac861d7fafc87f06dc2cdf4972aed854 (patch)
tree67c3d87a41a1d37c805695647c6c1502e3a81c80 /sys/dev/hyperv/vmbus
parentee6281c3d385306e6b6a7cc272f122154d409cba (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv/vmbus')
-rw-r--r--sys/dev/hyperv/vmbus/hyperv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hyperv/vmbus/hyperv.c b/sys/dev/hyperv/vmbus/hyperv.c
index d2d252ded07c..5bb38fde8241 100644
--- a/sys/dev/hyperv/vmbus/hyperv.c
+++ b/sys/dev/hyperv/vmbus/hyperv.c
@@ -264,8 +264,7 @@ SYSINIT(hyperv_initialize, SI_SUB_HYPERVISOR, SI_ORDER_FIRST, hyperv_init,
static void
hypercall_memfree(void)
{
- kmem_free(kernel_arena, (vm_offset_t)hypercall_context.hc_addr,
- PAGE_SIZE);
+ kmem_free((vm_offset_t)hypercall_context.hc_addr, PAGE_SIZE);
hypercall_context.hc_addr = NULL;
}