From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 11 Dec 2023 08:20:59 +0000
Subject: [PATCH] kernel_5.10 no rt

---
 kernel/lib/smp_processor_id.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/kernel/lib/smp_processor_id.c b/kernel/lib/smp_processor_id.c
index 0c0c42b..2916606 100644
--- a/kernel/lib/smp_processor_id.c
+++ b/kernel/lib/smp_processor_id.c
@@ -26,11 +26,6 @@
 	if (current->nr_cpus_allowed == 1)
 		goto out;
 
-#ifdef CONFIG_SMP
-	if (current->migration_disabled)
-		goto out;
-#endif
-
 	/*
 	 * It is valid to assume CPU-locality during early bootup:
 	 */

--
Gitblit v1.6.2