Loading...
pthreads/lock.s Libc-320 Libc-391.4.1
--- Libc/Libc-320/pthreads/lock.s
+++ Libc/Libc-391.4.1/pthreads/lock.s
@@ -2,8 +2,6 @@
  * Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -48,7 +46,7 @@
 #include <machine/cpu_capabilities.h>
 #undef	__APPLE_API_PRIVATE
 
-#if defined(__ppc__)
+#if defined(__ppc__) || defined(__ppc64__)
 
 #import	<architecture/ppc/asm_help.h>
 #import	<architecture/ppc/pseudo_inst.h>
@@ -97,9 +95,7 @@
         TEXT
 	ALIGN
 
-.globl _spin_lock_try
 LEAF(__spin_lock_try, 0)
-_spin_lock_try:
 	movl    $(_COMM_PAGE_SPINLOCK_TRY), %eax
 	jmpl	%eax