summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-05-06 06:46:00 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 11:54:04 (GMT)
commit8bbc9b7b001eaab8abf7e9e24edf1bb285c8d825 (patch)
tree429f0fdd0a78e020be2cbb180c5a05c09a64be1a /mm
parent925e2d1ded80fcc92210c9a9e5009887553dd83f (diff)
downloadlinux-8bbc9b7b001eaab8abf7e9e24edf1bb285c8d825.tar.xz
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: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions