patch-2.4.7 linux/arch/ppc/kernel/misc.S
Next file: linux/arch/ppc/kernel/pmac_pci.c
Previous file: linux/arch/ppc/kernel/m8xx_setup.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Jul 19 09:39:44 2001
- Orig file:
v2.4.6/linux/arch/ppc/kernel/misc.S
- Orig date:
Tue Jul 3 17:08:18 2001
diff -u --recursive --new-file v2.4.6/linux/arch/ppc/kernel/misc.S linux/arch/ppc/kernel/misc.S
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.misc.S 1.19 06/15/01 13:56:56 paulus
+ * BK Id: SCCS/s.misc.S 1.21 07/07/01 17:00:08 paulus
*/
/*
* This file contains miscellaneous low-level functions.
@@ -1093,6 +1093,8 @@
bnelr /* return if parent */
li r0,0 /* clear out p->thread.regs */
stw r0,THREAD+PT_REGS(r2) /* since we don't have user ctx */
+ addi r1,r2,TASK_UNION_SIZE-STACK_FRAME_OVERHEAD
+ stw r0,0(r1)
mtlr r6 /* fn addr in lr */
mr r3,r4 /* load arg and call fn */
blrl
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)