Skip to content
Commit 8bbc9b7b authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/mm/hash64: Factor out hash preload psize check



Currently we have a check in hash_preload() against the psize, which is
only included when CONFIG_PPC_MM_SLICES is enabled. We want to expand
this check in a subsequent patch, so factor it out to allow that. As a
bonus it removes the #ifdef in the C code.

Unfortunately we can't put this in the existing CONFIG_PPC_MM_SLICES
block because it would require a forward declaration.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 925e2d1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment