]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/mm/hash: Pull hash constants into hash__alloc_context_id()
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Mar 2017 11:10:45 +0000 (22:10 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Mar 2017 12:09:58 +0000 (23:09 +1100)
commitc1ff840d21208aff8cea18c0ae052c536d74f53e
tree9dc711039f36e5ec0304ed48176d41ab89265b44
parenta336f2f5b05c3c02876a365b8f17b3d10920dbd5
powerpc/mm/hash: Pull hash constants into hash__alloc_context_id()

The min and max context id values used in alloc_context_id() are
currently the right values for use on hash, and happen to also be safe
for use on radix.

But we need to change that in a subsequent patch, so make the min/max
ids parameters and pull the hash values into hsah__alloc_context_id().

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/mmu_context_book3s64.c