commit | c1ff840d21208aff8cea18c0ae052c536d74f53e | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Wed Mar 29 22:10:45 2017 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Mar 31 23:09:58 2017 +1100 |
tree | 9dc711039f36e5ec0304ed48176d41ab89265b44 | |
parent | a336f2f5b05c3c02876a365b8f17b3d10920dbd5 [diff] |
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>