Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210291
b: refs/heads/master
c: 54a8340
h: refs/heads/master
i:
  210289: cda2c8d
  210287: ea62be3
v: v3
  • Loading branch information
Michael Neuling authored and Benjamin Herrenschmidt committed Aug 31, 2010
1 parent dc1cb57 commit db77ecf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0d278b7d3ae9115939ddcea93f516308cc367e2
refs/heads/master: 54a834043314c257210db2a9d59f8cc605571639
12 changes: 9 additions & 3 deletions trunk/arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,19 @@ __secondary_start:
/* Initialize the kernel stack. Just a repeat for iSeries. */
LOAD_REG_ADDR(r3, current_set)
sldi r28,r24,3 /* get current_set[cpu#] */
ldx r1,r3,r28
addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD
std r1,PACAKSAVE(r13)
ldx r14,r3,r28
addi r14,r14,THREAD_SIZE-STACK_FRAME_OVERHEAD
std r14,PACAKSAVE(r13)

/* Do early setup for that CPU (stab, slb, hash table pointer) */
bl .early_setup_secondary

/*
* setup the new stack pointer, but *don't* use this until
* translation is on.
*/
mr r1, r14

/* Clear backchain so we get nice backtraces */
li r7,0
mtlr r7
Expand Down

0 comments on commit db77ecf

Please sign in to comment.