diff mbox series

[testsuite,3/4] tests/execshare: remove special cases for arcane architectures

Message ID 20221208132522.309657-4-omosnace@redhat.com (mailing list archive)
State Accepted
Delegated to: Ondrej Mosnáček
Headers show
Series Bump Fedora versions in CI | expand

Commit Message

Ondrej Mosnacek Dec. 8, 2022, 1:25 p.m. UTC
Other tests don't have them either. Hopefully contemporary versions of
glibc provide a common clone() prototype on all supported architectures.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
 tests/execshare/parent.c | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/tests/execshare/parent.c b/tests/execshare/parent.c
index 7c689fd..db2e127 100644
--- a/tests/execshare/parent.c
+++ b/tests/execshare/parent.c
@@ -76,14 +76,7 @@  int main(int argc, char **argv)
 		exit(-1);
 	}
 
-#if defined(__hppa__)
-	pid = clone(clone_fn, page, cloneflags | SIGCHLD, argv);
-#elif defined(__ia64__)
-	pid = __clone2(clone_fn, page, pagesize, cloneflags | SIGCHLD, argv, NULL, NULL,
-		       NULL);
-#else
 	pid = clone(clone_fn, clone_stack, cloneflags | SIGCHLD, argv);
-#endif
 	if (pid < 0) {
 		perror("clone");
 		exit(-1);