diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2011-07-11 15:32:54 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-07-24 04:50:39 -0400 |
commit | dd3bfd59dbc69fd970394ab354cfca5f959d5755 (patch) | |
tree | d104ca93456989d1dc3a8abd8154a71c02581add /arch | |
parent | c2a2ac2b563ccc3a69540965b5a994c19e3817d7 (diff) |
KVM: MMU: reorganize struct kvm_shadow_walk_iterator
Reorganize it for good using the cache
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 374530a478a4..4b1aa6772147 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -172,8 +172,8 @@ struct pte_list_desc { | |||
172 | struct kvm_shadow_walk_iterator { | 172 | struct kvm_shadow_walk_iterator { |
173 | u64 addr; | 173 | u64 addr; |
174 | hpa_t shadow_addr; | 174 | hpa_t shadow_addr; |
175 | int level; | ||
176 | u64 *sptep; | 175 | u64 *sptep; |
176 | int level; | ||
177 | unsigned index; | 177 | unsigned index; |
178 | }; | 178 | }; |
179 | 179 | ||