* fix INLINE_SYSCALL for arm
@ 2003-02-20 20:12 Philip Blundell
2003-02-20 20:23 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Philip Blundell @ 2003-02-20 20:12 UTC (permalink / raw)
To: libc-hacker
I needed this small patch to make the HEAD build on arm.
Thanks
p.
2003-02-20 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
missing arguments to INTERNAL_SYSCALL_ERROR_P and
INTERNAL_SYSCALL_ERRNO.
Index: sysdeps/unix/sysv/linux/arm/sysdep.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/arm/sysdep.h,v
retrieving revision 1.20
diff -u -r1.20 sysdep.h
--- sysdeps/unix/sysv/linux/arm/sysdep.h 9 Jan 2003 04:09:24 -0000 1.20
+++ sysdeps/unix/sysv/linux/arm/sysdep.h 20 Feb 2003 19:49:17 -0000
@@ -138,10 +138,10 @@
call. */
#undef INLINE_SYSCALL
#define INLINE_SYSCALL(name, nr, args...) \
- ({ unsigned int _sys_result = INTERNAL_SYSCALL (name, nr, args); \
- if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result), 0)) \
+ ({ unsigned int _sys_result = INTERNAL_SYSCALL (name, , nr, args); \
+ if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result, ), 0)) \
{ \
- __set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result)); \
+ __set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result, )); \
_sys_result = (unsigned int) -1; \
} \
(int) _sys_result; })
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fix INLINE_SYSCALL for arm
2003-02-20 20:12 fix INLINE_SYSCALL for arm Philip Blundell
@ 2003-02-20 20:23 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-02-20 20:23 UTC (permalink / raw)
To: Philip Blundell; +Cc: libc-hacker
Philip Blundell wrote:
> I needed this small patch to make the HEAD build on arm.
It's in. Thanks,
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-20 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 20:12 fix INLINE_SYSCALL for arm Philip Blundell
2003-02-20 20:23 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).