[RFC PATCH 14/86] Revert "preempt/dynamic: Fix setup_preempt_mode() return value"

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

 



This reverts commit 9ed20bafc85806ca6c97c9128cec46c3ef80ae86.

Signed-off-by: Ankur Arora <ankur.a.arora@xxxxxxxxxx>
---
 kernel/sched/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index f8bbddd729db..50e1133cacc9 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -7062,11 +7062,11 @@ static int __init setup_preempt_mode(char *str)
 	int mode = sched_dynamic_mode(str);
 	if (mode < 0) {
 		pr_warn("Dynamic Preempt: unsupported mode: %s\n", str);
-		return 0;
+		return 1;
 	}
 
 	sched_dynamic_update(mode);
-	return 1;
+	return 0;
 }
 __setup("preempt=", setup_preempt_mode);
 
-- 
2.31.1





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux