projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d54c3
)
(INLINE_SYSCALL): New.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 31 Oct 1998 23:38:09 +0000
(23:38 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 31 Oct 1998 23:38:09 +0000
(23:38 +0000)
sysdeps/unix/sysv/linux/alpha/sysdep.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/alpha/sysdep.h
b/sysdeps/unix/sysv/linux/alpha/sysdep.h
index
29d973f
..
1a3cf37
100644
(file)
--- a/
sysdeps/unix/sysv/linux/alpha/sysdep.h
+++ b/
sysdeps/unix/sysv/linux/alpha/sysdep.h
@@
-55,3
+55,15
@@
#define __NR_osf_shmat 209
#define __NR_osf_getsysinfo 256
#define __NR_osf_setsysinfo 257
+
+/*
+ * In order to get the hidden arguments for rt_sigaction set up
+ * properly, we need to call the assembly version. Detect this in the
+ * INLINE_SYSCALL macro, and fail to expand inline in that case.
+ */
+
+#undef INLINE_SYSCALL
+#define INLINE_SYSCALL(name, nr, args...) \
+ (__NR_##name == __NR_rt_sigaction \
+ ? __syscall_##name(args) \
+ : INLINE_SYSCALL1(name, nr, args))