]> git.karo-electronics.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2013 20:10:55 +0000 (13:10 -0700)
commit 13938117a57f88a22f0df9722a5db7271fda85cd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/mm/hash_utils_64.c

index 3a292be2e07912b903075d6c6bf70ee0e02641d9..7f46967bf9a7341812f16f009b536e424bc8ec2d 100644 (file)
@@ -758,6 +758,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