KVM: MMU: Make the way of accessing lpage_info more generic
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Tue, 7 Dec 2010 03:59:07 +0000 (12:59 +0900)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:30:47 +0000 (11:30 +0200)
Large page information has two elements but one of them, write_count, alone
is accessed by a helper function.

This patch replaces this helper function with more generic one which returns
newly named kvm_lpage_info structure and use it to access the other element
rmap_pde.

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

No differences found