diff options
Diffstat (limited to 'drivers/kvm/mmu.c')
-rw-r--r-- | drivers/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c index 22c426cd8cb2..be793770f31b 100644 --- a/drivers/kvm/mmu.c +++ b/drivers/kvm/mmu.c | |||
@@ -333,7 +333,7 @@ static void rmap_desc_remove_entry(struct kvm_vcpu *vcpu, | |||
333 | for (j = RMAP_EXT - 1; !desc->shadow_ptes[j] && j > i; --j) | 333 | for (j = RMAP_EXT - 1; !desc->shadow_ptes[j] && j > i; --j) |
334 | ; | 334 | ; |
335 | desc->shadow_ptes[i] = desc->shadow_ptes[j]; | 335 | desc->shadow_ptes[i] = desc->shadow_ptes[j]; |
336 | desc->shadow_ptes[j] = 0; | 336 | desc->shadow_ptes[j] = NULL; |
337 | if (j != 0) | 337 | if (j != 0) |
338 | return; | 338 | return; |
339 | if (!prev_desc && !desc->more) | 339 | if (!prev_desc && !desc->more) |