summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-01-03 18:55:17 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-18 03:58:30 +0300
commitbf5ca68dd2eef59a936969e802d811bdac4709c2 (patch)
tree4db392d212aab7a1190f304621fc81ee3639df77 /arch/openrisc
parent9728a7c8ab2f7a1c8d5c95278d2e4f4ac1285385 (diff)
downloadlinux-bf5ca68dd2eef59a936969e802d811bdac4709c2.tar.xz
powerpc: Fix pgtable pmd cache init
Commit 9b081e10805cd ("powerpc: port 64 bits pgtable_cache to 32 bits") mixed up PMD_INDEX_SIZE and PMD_CACHE_INDEX a couple of times. This resulted in 64s/hash/4k configs to panic at boot with a false positive error check. Fix that and simplify error handling by moving the check to the caller. Fixes: 9b081e10805cd ("powerpc: port 64 bits pgtable_cache to 32 bits") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions