[PATCH Trivial] ppc64: Use STACK_FRAME_OVERHEAD macro in misc.S

From: Josh Boyer
Date: Thu Sep 09 2004 - 18:29:00 EST


Howdy,

I found a couple places where a hardcoded value for the stack frame was
used instead of the STACK_FRAME_OVERHEAD macro. The following patch
fixes that.

thx,
josh

Signed-off-by: Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxxx>

diff -Naur linux-2.6.9-rc1/arch/ppc64/kernel/misc.S linux-2.6.9-rc1.jwb/arch/ppc64/kernel/misc.S
--- linux-2.6.9-rc1/arch/ppc64/kernel/misc.S 2004-08-14 00:37:40.000000000 -0500
+++ linux-2.6.9-rc1.jwb/arch/ppc64/kernel/misc.S 2004-09-09 18:07:56.038671384 -0500
@@ -107,7 +107,7 @@
_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)
@@ -118,7 +118,7 @@
_GLOBAL(call_handle_irq_event)
mflr r0
std r0,16(r1)
- stdu r1,THREAD_SIZE-112(r6)
+ stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r6)
mr r1,r6
bl .handle_irq_event
ld r1,0(r1)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/