diff options
author | Ram Pai <linuxram@us.ibm.com> | 2017-11-06 11:50:46 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-12-20 10:57:19 +0300 |
commit | 318995b4f5fa814b9f9aa434ca845b9a2cb0ae02 (patch) | |
tree | 00947ca7dfccd61eb9b55cb238c61b665646223f /arch/powerpc/include/asm/book3s/64/hash-4k.h | |
parent | 59aa31fd6f964ac63ac9cb90c8468f60e9bb0756 (diff) | |
download | linux-318995b4f5fa814b9f9aa434ca845b9a2cb0ae02.tar.xz |
powerpc: introduce pte_get_hash_gslot() helper
Introduce pte_get_hash_gslot()() which returns the global slot number of
the HPTE in the global hash table.
This function will come in handy as we work towards re-arranging the PTE
bits in the later patches.
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/book3s/64/hash-4k.h')
0 files changed, 0 insertions, 0 deletions