Skip to content
Commit 175587cc authored by Paul Mackerras's avatar Paul Mackerras
Browse files

[POWERPC] Fix SLB initialization at boot time

This partially reverts edd0622b

.

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: default avatarPaul Mackerras <paulus@samba.org>
parent e120e8d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment