patch-2.4.21 linux-2.4.21/arch/ppc/kernel/entry.S
Next file: linux-2.4.21/arch/ppc/kernel/find_name.c
Previous file: linux-2.4.21/arch/ppc/kernel/cputable.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
2003-06-13 07:51:31.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc/kernel/entry.S
- Orig date:
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc/kernel/entry.S linux-2.4.21/arch/ppc/kernel/entry.S
@@ -1,7 +1,4 @@
/*
- * BK Id: SCCS/s.entry.S 1.26 01/25/02 15:15:24 benh
- */
-/*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
* Rewritten by Cort Dougan (cort@fsmlabs.com) for PReP
@@ -166,7 +163,6 @@
.globl ret_from_syscall_2
ret_from_syscall_2:
stw r3,RESULT(r1) /* Save result */
- stw r3,GPR0(r1) /* temporary gross hack to make strace work */
li r10,-_LAST_ERRNO
cmpl 0,r3,r10
blt 60f
@@ -314,6 +310,7 @@
SYNC /* Some chip revs have problems here... */
mtmsr r0 /* Update machine state */
+ PPC405_ERR77(0,r1)
stwcx. r0,0,r1 /* to clear the reservation */
/* if returning to user mode, set new sprg2 and save kernel SP */
@@ -377,6 +374,7 @@
lwz r4,GPR4(r1)
lwz r1,GPR1(r1)
SYNC
+ PPC405_ERR77_SYNC
RFI
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)