mmu-hash*: Remove permission checking from find_pte{32, 64}()
commit7f3bdc2d8e17999a26ac0f6649caef92fedfc1c0
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2013 00:31:30 +0000 (12 00:31 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 22 Mar 2013 14:28:50 +0000 (22 15:28 +0100)
tree80ea298448a08389919c1e174d8f5eef2cea7506
parenta1ff751abda89006f167b14fa4bfc5b59e4980f0
mmu-hash*: Remove permission checking from find_pte{32, 64}()

find_pte{32,64}() are poorly named, since they both find a PTE and do
permissions checking of it.  This patch makes them only locate a matching
PTE, moving the permission checking and other logic to the caller.  We
rename the resulting search functions ppc_hash{32,64}_htab_lookup().

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/mmu-hash32.c
target-ppc/mmu-hash64.c