aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2018-08-21 16:43:46 +0000
committerAlan Cox <alc@FreeBSD.org>2018-08-21 16:43:46 +0000
commit83a90bffd8d7374d27d8d63097c5205af7bfa4f6 (patch)
tree6fd9fe07cd62c30c56f6e8905513b36452116f13 /sys/dev/hyperv
parentb1a90834bb25e04d883eb4ead99ca41d705e277f (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r--sys/dev/hyperv/vmbus/hyperv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hyperv/vmbus/hyperv.c b/sys/dev/hyperv/vmbus/hyperv.c
index f9ec0b67dc7b..d2d252ded07c 100644
--- a/sys/dev/hyperv/vmbus/hyperv.c
+++ b/sys/dev/hyperv/vmbus/hyperv.c
@@ -283,8 +283,8 @@ hypercall_create(void *arg __unused)
* the NX bit.
* - Assume kmem_malloc() returns properly aligned memory.
*/
- hypercall_context.hc_addr = (void *)kmem_malloc(kernel_arena, PAGE_SIZE,
- M_EXEC | M_WAITOK);
+ hypercall_context.hc_addr = (void *)kmem_malloc(PAGE_SIZE, M_EXEC |
+ M_WAITOK);
hypercall_context.hc_paddr = vtophys(hypercall_context.hc_addr);
/* Get the 'reserved' bits, which requires preservation. */