]> git.baikalelectronics.ru Git - kernel.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)
commit91ff69b30f4e77a4538c22f86e58f3cfbf187e72
tree9dc711039f36e5ec0304ed48176d41ab89265b44
parent38d03cbbcf1083e8ccff83400aad2842a9e216a5
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