]> Pileus Git - ~andy/linux/commit
kvm: powerpc: define a linux pte lookup function
authorBharat Bhushan <r65777@freescale.com>
Fri, 15 Nov 2013 05:31:15 +0000 (11:01 +0530)
committerAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 09:15:07 +0000 (10:15 +0100)
commitf5e3fe091f5238459752a81b478398b7cb22e575
tree89cd631e5516c316611fac1008553d5ca8cabb90
parent7c85e6b39ce880869929958bd7b95f72db03a9af
kvm: powerpc: define a linux pte lookup function

We need to search linux "pte" to get "pte" attributes for setting TLB in KVM.
This patch defines a lookup_linux_ptep() function which returns pte pointer.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Reviewed-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/pgtable.h