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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tests/execshare/parent.c | 7 -------
 1 file changed, 7 deletions(-)

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);
-- 
2.38.1




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux