kvm: powerpc: define a linux pte lookup function
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 <46879f56595617ba61998690b4cbeb89fd10e7ef@freescale.com>
Reviewed-by: Scott Wood <b77916c2feab81a70245e7b5671f4f02730ebf64@freescale.com>
Signed-off-by: Alexander Graf <3ad82b0c937b9aa51276120cedd545efc822be04@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs