KVM: PPC: move compute_tlbie_rb to book3s common header
authorAlexander Graf <agraf@suse.de>
Fri, 8 Jul 2011 11:40:10 +0000 (13:40 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Sep 2011 16:52:18 +0000 (19:52 +0300)
commitdb507c300ed6ce6e9fc71d4e19975d5abe01a7de
treebd7e5fbc2ab5d326a5a9f1679c205763e027c90f
parent364426871ca33752a6e8fcfccec4d89e2eaf06f7
KVM: PPC: move compute_tlbie_rb to book3s common header

We need the compute_tlbie_rb in _pr and _hv implementations for papr
soon, so let's move it over to a common header file that both
implementations can leverage.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/book3s_hv_rm_mmu.c