Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202314
b: refs/heads/master
c: 3bd8900
h: refs/heads/master
v: v3
  • Loading branch information
Lai Jiangshan authored and Avi Kivity committed Aug 1, 2010
1 parent b80084b commit 018dc22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4bc9b9828150747386130ab172f7e868e1a0fc2a
refs/heads/master: 3bd89007ab4243b36bc30f5fc4aa8b4f75ff8fc2
2 changes: 1 addition & 1 deletion trunk/virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ int __kvm_set_memory_region(struct kvm *kvm,
/* Allocate if a slot is being created */
#ifndef CONFIG_S390
if (npages && !new.rmap) {
new.rmap = vmalloc(npages * sizeof(struct page *));
new.rmap = vmalloc(npages * sizeof(*new.rmap));

if (!new.rmap)
goto out_free;
Expand Down

0 comments on commit 018dc22

Please sign in to comment.