KVM: update gfn_to_hva() to use gfn_to_hva_memslot()
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Thu, 25 Feb 2010 02:33:19 +0000 (11:33 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 10:53:29 +0000 (13:53 +0300)
commitf5c9803173848864d0c56108b9e102db0bf601de
treeb977df8c6cf508f196aa73fd012bbcb01ad6be2f
parent197717d5813fc39a7185a3177b76f4a3b2405df7
KVM: update gfn_to_hva() to use gfn_to_hva_memslot()

Marcelo introduced gfn_to_hva_memslot() when he implemented
gfn_to_pfn_memslot(). Let's use this for gfn_to_hva() too.

Note: also remove parentheses next to return as checkpatch said to do.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c