Ports/stress-ng: Remove custom pause function from patch

This removes the custom pause function in patch so that we can use our
own LibC pause function.
This commit is contained in:
Kenneth Myhra 2021-08-11 18:59:03 +02:00 committed by Gunnar Beutner
parent b6b6add78f
commit 6ace2187e2
Notes: sideshowbarker 2024-07-18 07:02:59 +09:00

View file

@ -26,17 +26,8 @@ diff -ur stress-ng-master/core-helper.c stress-ng-master-2/core-helper.c
return max - opened;
+#endif
}
/*
@@ -2026,3 +2030,8 @@
return 0;
#endif
}
+
+int pause(void)
+{
+ asm ("pause");
+}
diff -ur stress-ng-master/core-job.c stress-ng-master-2/core-job.c
--- stress-ng-master/core-job.c 2020-11-07 10:52:22.000000000 -0800
+++ stress-ng-master-2/core-job.c 2020-11-08 22:32:06.607668500 -0800