summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/sparc/pspinlock.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-31 05:05:15 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-31 05:05:15 +0000
commitcccc549ced940c85039c8ce263c8bb571f244afd (patch)
treeef77a870db7211ad6f511867fc56ee1a1a8b4c18 /libpthread/linuxthreads/sysdeps/sparc/pspinlock.c
parente73b1211737842732951f9b9049294ef732e1ef0 (diff)
initial import of latest linuxthreads
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/sparc/pspinlock.c')
-rw-r--r--libpthread/linuxthreads/sysdeps/sparc/pspinlock.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/sparc/pspinlock.c b/libpthread/linuxthreads/sysdeps/sparc/pspinlock.c
new file mode 100644
index 000000000..72a9af5b1
--- /dev/null
+++ b/libpthread/linuxthreads/sysdeps/sparc/pspinlock.c
@@ -0,0 +1,14 @@
+#include <features.h>
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+
+# if defined(__CONFIG_SPARC_V9B__)
+# include "sparc32/sparcv9b/pspinlock.c"
+# else
+# include "sparc32/pspinlock.c"
+# endif
+
+#else
+# include "sparc64/pspinlock.c"
+#endif