Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93911
b: refs/heads/master
c: 960b399
h: refs/heads/master
i:
  93909: 7524a4d
  93907: d063bf1
  93903: f1a74ba
v: v3
  • Loading branch information
Marcelo Tosatti authored and Avi Kivity committed Apr 27, 2008
1 parent 4792a39 commit 1635512
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 1336028b9a1fb33537eab8caec66e812eb8cad63
refs/heads/master: 960b3991698872f68f09d51f4c2794ad484fe1fd
3 changes: 0 additions & 3 deletions trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2173,8 +2173,6 @@ int kvm_pv_mmu_op(struct kvm_vcpu *vcpu, unsigned long bytes,
int r;
struct kvm_pv_mmu_op_buffer buffer;

down_read(&current->mm->mmap_sem);

buffer.ptr = buffer.buf;
buffer.len = min_t(unsigned long, bytes, sizeof buffer.buf);
buffer.processed = 0;
Expand All @@ -2194,7 +2192,6 @@ int kvm_pv_mmu_op(struct kvm_vcpu *vcpu, unsigned long bytes,
r = 1;
out:
*ret = buffer.processed;
up_read(&current->mm->mmap_sem);
return r;
}

Expand Down

0 comments on commit 1635512

Please sign in to comment.