diff options
Diffstat (limited to 'tools/xc/lib/xc_private.c')
-rw-r--r-- | tools/xc/lib/xc_private.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/xc/lib/xc_private.c b/tools/xc/lib/xc_private.c index 430dc6ec11..015354fde5 100644 --- a/tools/xc/lib/xc_private.c +++ b/tools/xc/lib/xc_private.c @@ -323,7 +323,8 @@ static int flush_mmu_updates(int xc_handle, mmu_t *mmu) hypercall.op = __HYPERVISOR_mmu_update; hypercall.arg[0] = (unsigned long)mmu->updates; - hypercall.arg[1] = (unsigned long)&(mmu->idx); + hypercall.arg[1] = (unsigned long)mmu->idx; + hypercall.arg[2] = 0; if ( mlock(mmu->updates, sizeof(mmu->updates)) != 0 ) { |