patch-2.4.21 linux-2.4.21/arch/ppc/kernel/semaphore.c

Next file: linux-2.4.21/arch/ppc/kernel/setup.c
Previous file: linux-2.4.21/arch/ppc/kernel/qspan_pci.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/ppc/kernel/semaphore.c linux-2.4.21/arch/ppc/kernel/semaphore.c
@@ -1,7 +1,4 @@
 /*
- * BK Id: SCCS/s.semaphore.c 1.12 05/17/01 18:14:22 cort
- */
-/*
  * PowerPC-specific semaphore code.
  *
  * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu>
@@ -39,6 +36,7 @@
 "	srawi	%1,%0,31\n"
 "	andc	%1,%0,%1\n"
 "	add	%1,%1,%4\n"
+	PPC405_ERR77(0,%3)
 "	stwcx.	%1,0,%3\n"
 "	bne	1b"
 	: "=&r" (old_count), "=&r" (tmp), "=m" (sem->count)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)