summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2025-08-10 13:51:28 +0800
committerJohannes Berg <johannes.berg@intel.com>2025-09-10 14:23:55 +0200
commitbe6a0372be581b80a4f0083687d45c30289094ca (patch)
tree786aa3c045862d8b4bc1a5af7ddccec77fb9cf02
parenta73a9aad8a81934ab50201ba23107fd321612caf (diff)
um: Remove unused cpu_data and current_cpu_data macros
These two macros have no users. Remove them. Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--arch/um/include/asm/processor-generic.h2
1 files changed, 0 insertions, 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)