mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
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:
parent
b6b6add78f
commit
6ace2187e2
1 changed files with 1 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue