mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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
Notes:
sideshowbarker
2024-07-18 07:02:59 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/6ace2187e25 Pull-request: https://github.com/SerenityOS/serenity/pull/9346 Issue: https://github.com/SerenityOS/serenity/issues/9324
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…
Reference in a new issue