Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93455
b: refs/heads/master
c: 4ae2dcb
h: refs/heads/master
i:
  93453: 468ebec
  93451: 4aa83e9
  93447: 426040e
  93439: 794c84f
v: v3
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Apr 24, 2008
1 parent e8f13c6 commit 9b093e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 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: 988479ebccc44e141d06ac55e4438d6b473008b5
refs/heads/master: 4ae2dcb633c751cfd27deeea5a8b13db35a84d9a
20 changes: 4 additions & 16 deletions trunk/arch/powerpc/kernel/misc_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,11 @@

.text

_GLOBAL(get_msr)
mfmsr r3
blr

_GLOBAL(get_srr0)
mfsrr0 r3
blr

_GLOBAL(get_srr1)
mfsrr1 r3
blr

#ifdef CONFIG_IRQSTACKS
_GLOBAL(call_do_softirq)
mflr r0
std r0,16(r1)
stdu r1,THREAD_SIZE-112(r3)
stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
mr r1,r3
bl .__do_softirq
ld r1,0(r1)
Expand All @@ -56,7 +44,7 @@ _GLOBAL(call_handle_irq)
mflr r0
std r0,16(r1)
mtctr r8
stdu r1,THREAD_SIZE-112(r5)
stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r5)
mr r1,r5
bctrl
ld r1,0(r1)
Expand Down Expand Up @@ -599,7 +587,7 @@ _GLOBAL(kexec_sequence)
std r0,16(r1)

/* switch stacks to newstack -- &kexec_stack.stack */
stdu r1,THREAD_SIZE-112(r3)
stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
mr r1,r3

li r0,0
Expand All @@ -616,7 +604,7 @@ _GLOBAL(kexec_sequence)
std r26,-48(r1)
std r25,-56(r1)

stdu r1,-112-64(r1)
stdu r1,-STACK_FRAME_OVERHEAD-64(r1)

/* save args into preserved regs */
mr r31,r3 /* newstack (both) */
Expand Down

0 comments on commit 9b093e1

Please sign in to comment.