diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-03-13 09:49:06 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-20 13:04:59 -0700 |
commit | 9d4a6f2cee36dab61a3bd58d1f197f733738995f (patch) | |
tree | 75835b0c3a149ef4a17066ce36fe7e6a2f0bdb97 | |
parent | 32f81345140d7f237afba1a26d42a11117a0304e (diff) | |
download | linux-3.10-9d4a6f2cee36dab61a3bd58d1f197f733738995f.tar.gz linux-3.10-9d4a6f2cee36dab61a3bd58d1f197f733738995f.tar.bz2 linux-3.10-9d4a6f2cee36dab61a3bd58d1f197f733738995f.zip |
powerpc: Fix STAB initialization
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>
-rw-r--r-- | arch/powerpc/mm/hash_utils_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 377e5cbedbb..15972e24475 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c @@ -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 |