VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Thomas Gleixner <tglx@linutronix.de> 2020-11-18 20:48:42 +0100 committer: Thomas Gleixner <tglx@linutronix.de> 2020-11-24 11:25:44 +0100 commit: 74d862b682f51e45d25b95b1ecf212428a4967b0 parent: fa50e2b452c60cff9f4000de5b372a61d6695c26
Commit Summary:
sched: Make migrate_disable/enable() independent of RT
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/lib/smp_processor_id.c b/lib/smp_processor_id.c
index faaa927ac2c8..1c1dbd300325 100644
--- a/lib/smp_processor_id.c
+++ b/lib/smp_processor_id.c
@@ -26,7 +26,7 @@ unsigned int check_preemption_disabled(const char *what1, const char *what2)
 	if (current->nr_cpus_allowed == 1)
 		goto out;
 
-#if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT_RT)
+#ifdef CONFIG_SMP
 	if (current->migration_disabled)
 		goto out;
 #endif