[RFC PATCH 2/4] um: Remove unused cpu_data and current_cpu_data macros
Tiwei Bie
tiwei.bie at linux.dev
Sun Jul 13 10:25:34 PDT 2025
From: Tiwei Bie <tiwei.btw at antgroup.com>
These two macros have no users. Remove them.
Signed-off-by: Tiwei Bie <tiwei.btw at antgroup.com>
---
arch/um/include/asm/processor-generic.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h
index 8a789c17acd8..236fdfd7cdbe 100644
--- a/arch/um/include/asm/processor-generic.h
+++ b/arch/um/include/asm/processor-generic.h
@@ -81,8 +81,6 @@ struct cpuinfo_um {
extern struct cpuinfo_um boot_cpu_data;
-#define cpu_data(cpu) boot_cpu_data
-#define current_cpu_data boot_cpu_data
#define cache_line_size() (boot_cpu_data.cache_alignment)
#define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
--
2.34.1
More information about the linux-um
mailing list