File:  [DVB] / dietlibc / ppc / __testandset.S
Revision 1.4: download - view: text, annotated - select for diffs
Mon Sep 16 11:17:01 2002 UTC (21 years, 8 months ago) by olaf
Branches: MAIN
CVS tags: finnland_test_200301, branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, branch_rc12_fieldtest_finnland, branch_rc10_fieldtest_finnland, RELEASE_finnland_200301_1, RC12_FIELDTEST_FINNLAND, RC10_FIELDTEST_FINNLAND, HEAD
Ok. some weekend work

alpha:	some optimizations
i386:	remove of some legacy code
ia64:	there where no weak syscalls
ppc:	set the right predict bit and removed a relocation
s390:	removed double usage of same label
sparc:	remove of some legacy code
sparc64: fixing a minor bug
x86_64: fix of argument usage

signal.h: removed of a double define... (parisc)
sys/stat.h: remove the declarations of {stat,lstat,lseek}64 if we are on a
	64bit machine

.global __testandset
.type __testandset,@function
.align 2
__testandset:
1:	lwarx	5,0,3
	li	0,1
	stwcx.	0,0,3
	bne-	1b
	mr	3,5
	blr
.size __testandset,.-__testandset


LinuxTV legacy CVS <linuxtv.org/cvs>