]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Fix SLB initialization at boot time
authorPaul Mackerras <paulus@samba.org>
Sat, 25 Aug 2007 03:14:28 +0000 (13:14 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 25 Aug 2007 06:58:43 +0000 (16:58 +1000)
commitefe98c7ea4549f7bb8d3ddd9fe50c7cccf43f960
tree9594f43322c74d84e83469916dcd933859a915bb
parent0805ea69ea232e18a997a732e95c962bb1ffab50
[POWERPC] Fix SLB initialization at boot time

This partially reverts dc50ccbebac995e8dcce9292c794cab737e61500.

It turns out that the part of that commit that aimed to ensure that we
created an SLB entry for the kernel stack on secondary CPUs when
starting the CPU didn't achieve its aim, and in fact caused a
regression, because get_paca()->kstack is not initialized at the point
where slb_initialize is called.

This therefore just reverts that part of that commit, while keeping
the change to slb_flush_and_rebolt, which is correct and necessary.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/slb.c