[2/3] cpu/hotplug: Remove export of cpu_active_mask and cpu_dying_mask

Message ID 1d719106061cc0177eb16d6d5ac914c0485772b2.1705101789.git.dennis@kernel.org
State New
Headers
Series lib/percpu_counter, cpu/hotplug: Cure the cpu_dying_mask woes |

Commit Message

Dennis Zhou Jan. 12, 2024, 11:36 p.m. UTC
  From: Thomas Gleixner <tglx@linutronix.de>

No module users and no module should ever care.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
[Dennis: applied cleanly]
Signed-off-by: Dennis Zhou <dennis@kernel.org>
---
 kernel/cpu.c | 2 --
 1 file changed, 2 deletions(-)
  

Patch

diff --git a/kernel/cpu.c b/kernel/cpu.c
index a86972a91991..c4929e9cd9be 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -3126,10 +3126,8 @@  struct cpumask __cpu_present_mask __read_mostly;
 EXPORT_SYMBOL(__cpu_present_mask);
 
 struct cpumask __cpu_active_mask __read_mostly;
-EXPORT_SYMBOL(__cpu_active_mask);
 
 struct cpumask __cpu_dying_mask __read_mostly;
-EXPORT_SYMBOL(__cpu_dying_mask);
 
 atomic_t __num_online_cpus __read_mostly;
 EXPORT_SYMBOL(__num_online_cpus);