diff options
author | Paul Mackerras <paulus@samba.org> | 2013-08-06 14:18:00 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-08-29 00:05:50 +0200 |
commit | 7e48c101e0c53e6095c5f4f5e63d14df50aae8fc (patch) | |
tree | 29726761da585cb4158a261674b207ffc7f4f271 /drivers/pci/pci-sysfs.c | |
parent | 8b23de29489fd63fce753db9d53055e4bbf8f616 (diff) |
KVM: PPC: Book3S PR: Rework kvmppc_mmu_book3s_64_xlate()
This reworks kvmppc_mmu_book3s_64_xlate() to make it check the large
page bit in the hashed page table entries (HPTEs) it looks at, and
to simplify and streamline the code. The checking of the first dword
of each HPTE is now done with a single mask and compare operation,
and all the code dealing with the matching HPTE, if we find one,
is consolidated in one place in the main line of the function flow.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions