summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-03-13 09:49:06 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-03-13 10:06:22 +1100
commit13938117a57f88a22f0df9722a5db7271fda85cd (patch)
tree771be70a764074be311935d70a8324a8a5d8d225 /arch/powerpc/mm
parent7c6baa304b841673d3a55ea4fcf9a5cbf7a1674b (diff)
downloadblackbird-op-linux-13938117a57f88a22f0df9722a5db7271fda85cd.tar.gz
blackbird-op-linux-13938117a57f88a22f0df9722a5db7271fda85cd.zip
powerpc: Fix STAB initialization
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+]
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/hash_utils_64.c2
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 1b6e1271719f..6ec6c1997b3a 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
OpenPOWER on IntegriCloud