patch-2.3.16 linux/arch/sparc64/lib/atomic.S

Next file: linux/arch/sparc64/lib/rwlock.S
Previous file: linux/arch/sparc64/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/arch/sparc64/lib/atomic.S linux/arch/sparc64/lib/atomic.S
@@ -1,4 +1,4 @@
-/* $Id: atomic.S,v 1.1 1999/07/03 22:11:04 davem Exp $
+/* $Id: atomic.S,v 1.2 1999/08/23 05:15:58 davem Exp $
  * atomic.S: These things are too big to do inline.
  *
  * Copyright (C) 1999 David S. Miller (davem@redhat.com)
@@ -9,7 +9,10 @@
 	.text
 	.align	64
 
+	.globl	atomic_impl_begin, atomic_impl_end
+
 	.globl	__atomic_add
+atomic_impl_begin:
 __atomic_add:
 	lduw	[%g1], %g5
 	add	%g5, %g2, %g7
@@ -30,3 +33,4 @@
 	 nop
 	jmpl	%g3 + 8, %g0
 	 sub	%g7, %g2, %g2
+atomic_impl_end:

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