KVM: PPC: E500: Split host and guest MMU parts
authorAlexander Graf <agraf@suse.de>
Fri, 11 Jan 2013 14:22:45 +0000 (15:22 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 24 Jan 2013 18:23:31 +0000 (19:23 +0100)
commitb71c9e2fb72cf538aadbc59ea719639a1e2191fa
tree5dc0827d2fe0ae15172f04f299d57fe564d5701e
parent9d98b3ff949dab3bafa2c50856ce9e1f88497f9a
KVM: PPC: E500: Split host and guest MMU parts

This patch splits the file e500_tlb.c into e500_mmu.c (guest TLB handling)
and e500_mmu_host.c (host TLB handling).

The main benefit of this split is readability and maintainability. It's
just a lot harder to write dirty code :).

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/e500_mmu.c [moved from arch/powerpc/kvm/e500_tlb.c with 56% similarity]
arch/powerpc/kvm/e500_mmu_host.c [new file with mode: 0644]
arch/powerpc/kvm/e500_mmu_host.h [new file with mode: 0644]