From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:15:07 +0000
Subject: [PATCH] change system file

---
 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