[PATCH] powerpc: iSeries needs slb_initialize to be called
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 1 Apr 2006 16:45:04 +0000 (02:45 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 1 Apr 2006 23:32:15 +0000 (09:32 +1000)
commit856d08ec46c5ecf3df13827c492fb6998fdc8322
tree24d64c8000c80da137167a08dfb42de5759c2cc0
parent2c6967750a6f1e206a44ab5cf43c36aacb91372b
[PATCH] powerpc: iSeries needs slb_initialize to be called

Since the powerpc 64k pages patch went in, systems that have SLBs
(like Power4 iSeries) needed to have slb_initialize called to set up
some variables for the SLB miss handler.  This was not being called
on the boot processor on iSeries, so on single cpu iSeries machines,
we would get apparent memory curruption as soon as we entered user mode.

This patch fixes that by calling slb_initialize on the boot cpu if the
processor has an SLB.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/setup_64.c