]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Fix STAB initialization
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Mar 2013 22:49:06 +0000 (09:49 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 12 Mar 2013 23:06:22 +0000 (10:06 +1100)
Commit f5339277eb8d3aed37f12a27988366f68ab68930 accidentally removed
more than just iSeries bits and took out the call to stab_initialize()
thus breaking support for POWER3 processors.

Put it back. (Yes, nobody noticed until now ...)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org> [v3.4+]
arch/powerpc/mm/hash_utils_64.c

index 1b6e1271719f994e1d16b21621851733658bffa5..6ec6c1997b3ae6a1e099172c92e8bc1f37ccc287 100644 (file)
@@ -759,6 +759,8 @@ void __init early_init_mmu(void)
        /* Initialize stab / SLB management */
        if (mmu_has_feature(MMU_FTR_SLB))
                slb_initialize();
+       else
+               stab_initialize(get_paca()->stab_real);
 }
 
 #ifdef CONFIG_SMP