|
@@ -536,6 +536,13 @@ _GLOBAL(pmac_secondary_start)
|
|
add r13,r13,r4 /* for this processor. */
|
|
add r13,r13,r4 /* for this processor. */
|
|
mtspr SPRN_SPRG_PACA,r13 /* Save vaddr of paca in an SPRG*/
|
|
mtspr SPRN_SPRG_PACA,r13 /* Save vaddr of paca in an SPRG*/
|
|
|
|
|
|
|
|
+ /* Mark interrupts soft and hard disabled (they might be enabled
|
|
|
|
+ * in the PACA when doing hotplug)
|
|
|
|
+ */
|
|
|
|
+ li r0,0
|
|
|
|
+ stb r0,PACASOFTIRQEN(r13)
|
|
|
|
+ stb r0,PACAHARDIRQEN(r13)
|
|
|
|
+
|
|
/* Create a temp kernel stack for use before relocation is on. */
|
|
/* Create a temp kernel stack for use before relocation is on. */
|
|
ld r1,PACAEMERGSP(r13)
|
|
ld r1,PACAEMERGSP(r13)
|
|
subi r1,r1,STACK_FRAME_OVERHEAD
|
|
subi r1,r1,STACK_FRAME_OVERHEAD
|