powerpc: Remove STAB code
Old cpus didn't have a Segment Lookaside Buffer (SLB), instead they had a Segment Table (STAB). Now that we've dropped support for those cpus, we can remove the STAB support entirely. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
468a33028e
commit
376af5947c
@@ -618,7 +618,7 @@ __secondary_start:
|
||||
addi r14,r14,THREAD_SIZE-STACK_FRAME_OVERHEAD
|
||||
std r14,PACAKSAVE(r13)
|
||||
|
||||
/* Do early setup for that CPU (stab, slb, hash table pointer) */
|
||||
/* Do early setup for that CPU (SLB and hash table pointer) */
|
||||
bl early_setup_secondary
|
||||
|
||||
/*
|
||||
@@ -771,8 +771,10 @@ start_here_multiplatform:
|
||||
li r0,0
|
||||
stdu r0,-STACK_FRAME_OVERHEAD(r1)
|
||||
|
||||
/* Do very early kernel initializations, including initial hash table,
|
||||
* stab and slb setup before we turn on relocation. */
|
||||
/*
|
||||
* Do very early kernel initializations, including initial hash table
|
||||
* and SLB setup before we turn on relocation.
|
||||
*/
|
||||
|
||||
/* Restore parameters passed from prom_init/kexec */
|
||||
mr r3,r31
|
||||
|
Reference in New Issue
Block a user