[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250810055136.897712-8-tiwei.bie@linux.dev>
Date: Sun, 10 Aug 2025 13:51:33 +0800
From: Tiwei Bie <tiwei.bie@...ux.dev>
To: richard@....at,
anton.ivanov@...bridgegreys.com,
johannes@...solutions.net
Cc: linux-um@...ts.infradead.org,
linux-kernel@...r.kernel.org,
benjamin@...solutions.net,
arnd@...db.de,
tiwei.btw@...group.com,
tiwei.bie@...ux.dev
Subject: [PATCH v2 07/10] um: Remove unused ipi_pipe field from cpuinfo_um
From: Tiwei Bie <tiwei.btw@...group.com>
It's no longer used after the removal of the SMP implementation in
TT mode by commit 28fa468f5316 ("um: Remove broken SMP support").
While at it, remove the outdated comment.
Signed-off-by: Tiwei Bie <tiwei.btw@...group.com>
---
arch/um/include/asm/processor-generic.h | 1 -
arch/um/kernel/um_arch.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h
index 236fdfd7cdbe..7854d51b6639 100644
--- a/arch/um/include/asm/processor-generic.h
+++ b/arch/um/include/asm/processor-generic.h
@@ -71,7 +71,6 @@ extern void start_thread(struct pt_regs *regs, unsigned long entry,
struct cpuinfo_um {
unsigned long loops_per_jiffy;
- int ipi_pipe[2];
int cache_alignment;
union {
__u32 x86_capability[NCAPINTS + NBUGINTS];
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 2f5ee045bc7a..e46718b3c711 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -54,12 +54,9 @@ static void __init add_arg(char *arg)
/*
* These fields are initialized at boot time and not changed.
- * XXX This structure is used only in the non-SMP case. Maybe this
- * should be moved to smp.c.
*/
struct cpuinfo_um boot_cpu_data = {
.loops_per_jiffy = 0,
- .ipi_pipe = { -1, -1 },
.cache_alignment = L1_CACHE_BYTES,
.x86_capability = { 0 }
};
--
2.34.1
Powered by blists - more mailing lists