summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-11 01:01:24 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-11 01:01:24 +0000
commitec06436c5b64512d108f63d4d7c3456fced2d503 (patch)
treef3c4a9c53be213b08d5e7877186192f381a248a6 /nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
parent3273832c67441e2edf8e5b2e4262533c5748aca1 (diff)
Update.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_lock_wait): Reverse order of parameters. (__lll_timedwait_tid): Remove regparms attribute. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: New file. * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: New file.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
index f574cce7f6..fa472baeea 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
@@ -126,7 +126,7 @@ typedef int lll_lock_t;
#define LLL_LOCK_INITIALIZER_LOCKED (0)
-extern int __lll_lock_wait (int val, int *__futex) attribute_hidden;
+extern int __lll_lock_wait (int *__futex, int val) attribute_hidden;
extern int __lll_unlock_wake (int *__futex) attribute_hidden;
extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
@@ -256,7 +256,7 @@ extern int lll_unlock_wake_cb (int *__futex) attribute_hidden;
} while (0)
extern int __lll_timedwait_tid (int *tid, const struct timespec *abstime)
- __attribute__ ((regparm (2))) attribute_hidden;
+ attribute_hidden;
#define lll_timedwait_tid(tid, abstime) \
({ \
int __result = 0; \