diff options
author | David S. Miller <davem@davemloft.net> | 2012-10-28 23:19:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-28 23:19:00 -0700 |
commit | 19f1dd5f2dbf794cd6b040093bf2b1ba114b3c15 (patch) | |
tree | 4e074ca1aa80f6db0c1ab23526d10bcdfac7d15a /nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9 | |
parent | 86ebe6b1334510d5e71fa1b0f686359bd655d6c5 (diff) | |
download | glibc-19f1dd5f2dbf794cd6b040093bf2b1ba114b3c15.tar.gz glibc-19f1dd5f2dbf794cd6b040093bf2b1ba114b3c15.tar.xz glibc-19f1dd5f2dbf794cd6b040093bf2b1ba114b3c15.zip |
Define a BUSY_WAIT_NOP for sparc.
nptl/ * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Define when we have v9 instructions available. * sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Add cpu_relax to libpthread-routines.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile | 1 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile new file mode 100644 index 0000000000..f7acc019aa --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile @@ -0,0 +1 @@ +libpthread-routines += cpu_relax diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S new file mode 100644 index 0000000000..4ac4d14486 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S @@ -0,0 +1 @@ +#include <sparc64/cpu_relax.S> |