public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] support: Fix xclone build failures on ia64 and hppa
@ 2021-06-25 8:24 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-06-25 8:24 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=97ed4749becdc20481688ee074e90507ca3501dd
commit 97ed4749becdc20481688ee074e90507ca3501dd
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Jun 25 09:30:00 2021 +0200
support: Fix xclone build failures on ia64 and hppa
Diff:
---
support/xclone.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/support/xclone.c b/support/xclone.c
index 924d2b8754..243eee8b23 100644
--- a/support/xclone.c
+++ b/support/xclone.c
@@ -30,15 +30,14 @@ xclone (int (*fn) (void *arg), void *arg, void *stack, size_t stack_size,
# ifdef __ia64__
extern int __clone2 (int (*fn) (void *arg), void *stack, size_t stack_size,
int flags, void *arg, ...);
- r = __clone2 (f, stack, stack_size, flags, arg, /* ptid */ NULL,
- /* tls */ NULL, /* ctid */ ctid);
+ r = __clone2 (fn, stack, stack_size, flags, arg, /* ptid */ NULL,
+ /* tls */ NULL, /* ctid */ NULL);
# else
# if _STACK_GROWS_DOWN
r = clone (fn, stack + stack_size, flags, arg, /* ptid */ NULL,
/* tls */ NULL, /* ctid */ NULL);
# elif _STACK_GROWS_UP
- r = clone (fn, stack, flags, arg, /* ptid */ NULL, /* tls */ NULL,
- &ctid);
+ r = clone (fn, stack, flags, arg, /* ptid */ NULL, /* tls */ NULL, NULL);
# endif
# endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-25 8:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 8:24 [glibc] support: Fix xclone build failures on ia64 and hppa Florian Weimer
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).