On Tue, 2017-01-03 at 15:55:17 UTC, Nicholas Piggin wrote: > 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") > Cc: Christophe Leroy <christophe.le...@c-s.fr> > Cc: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> > Cc: Scott Wood <o...@buserror.net> > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Nicholas Piggin <npig...@gmail.com>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/bf5ca68dd2eef59a936969e802d811 cheers