summaryrefslogtreecommitdiff
path: root/Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch')
-rw-r--r--Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch b/Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch
index 42729cee1e..d0b76c370e 100644
--- a/Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch
+++ b/Ports/stress-ng/patches/0001-serenity-Disable-linux-scheduler-integration-on-Sere.patch
@@ -1,7 +1,7 @@
-From d5955e243cc81d6565eec57ccec282523348e735 Mon Sep 17 00:00:00 2001
+From bb67e44f840df4b833ea3316cf20dee42d62cdb8 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Mon, 27 Dec 2021 20:53:47 -0800
-Subject: [PATCH 01/12] serenity: Disable linux scheduler integration on
+Subject: [PATCH 01/14] serenity: Disable linux scheduler integration on
Serenity
Follow the path of other platforms, and make this code nop
@@ -12,10 +12,10 @@ when compiling for serenity.
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/core-sched.c b/core-sched.c
-index a27d15a..65ebe8c 100644
+index af8cb48..0406ff9 100644
--- a/core-sched.c
+++ b/core-sched.c
-@@ -68,7 +68,8 @@ const char *stress_get_sched_name(const int sched)
+@@ -75,7 +75,8 @@ const char *stress_get_sched_name(const int sched)
#if (defined(_POSIX_PRIORITY_SCHEDULING) || defined(__linux__)) && \
!defined(__OpenBSD__) && \
!defined(__minix__) && \
@@ -26,10 +26,10 @@ index a27d15a..65ebe8c 100644
static const char prefix[] = "sched";
diff --git a/stress-schedpolicy.c b/stress-schedpolicy.c
-index e57b1d8..749e0c1 100644
+index 91d1d02..6f172d3 100644
--- a/stress-schedpolicy.c
+++ b/stress-schedpolicy.c
-@@ -33,7 +33,8 @@ static const stress_help_t help[] = {
+@@ -37,7 +37,8 @@ static const stress_help_t help[] = {
#if (defined(_POSIX_PRIORITY_SCHEDULING) || defined(__linux__)) && \
!defined(__OpenBSD__) && \
!defined(__minix__) && \
@@ -40,5 +40,5 @@ index e57b1d8..749e0c1 100644
static const int policies[] = {
#if defined(SCHED_IDLE)
--
-2.34.1
+2.32.0