diff options
author | Russ Cox <rsc@swtch.com> | 2020-01-19 21:03:56 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-19 23:04:58 -0500 |
commit | 8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3 (patch) | |
tree | 645ca934eba78949310eca82b724d1fbdc85bf96 /src/libthread/Linux-power-asm.s | |
parent | c181e39eeab0eb8cad274b7b22ce5343bd55630d (diff) | |
download | plan9port-8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3.tar.gz plan9port-8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3.tar.bz2 plan9port-8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3.zip |
libthread: remove Linux 2.4 code
Linux.c was for Linux 2.4 and is no longer used directly,
only indirectly because NetBSD.c was a 1-line file #including Linux.c.
So mv Linux.c NetBSD.c.
Also rm Linux-*-asm.s which was for Linux 2.4 as well.
Diffstat (limited to 'src/libthread/Linux-power-asm.s')
-rw-r--r-- | src/libthread/Linux-power-asm.s | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libthread/Linux-power-asm.s b/src/libthread/Linux-power-asm.s deleted file mode 100644 index d6e21c15..00000000 --- a/src/libthread/Linux-power-asm.s +++ /dev/null @@ -1,16 +0,0 @@ - .globl _tas -_tas: - li %r0, 0 - mr %r4, %r3 - lis %r5, 0xcafe - ori %r5, %r5, 0xbabe -1: - lwarx %r3, %r0, %r4 - cmpwi %r3, 0 - bne 2f - stwcx. %r5, %r0, %r4 - bne- 1b -2: - sync - blr - |