]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
um: Remove unused ipi_pipe field from cpuinfo_um
authorTiwei Bie <tiwei.btw@antgroup.com>
Sun, 10 Aug 2025 05:51:33 +0000 (13:51 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2025 12:23:58 +0000 (14:23 +0200)
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@antgroup.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/asm/processor-generic.h
arch/um/kernel/um_arch.c

index 236fdfd7cdbe13a2869c28d97490ada514180f91..7854d51b663983102cf8b3b6e9c00e3b752de369 100644 (file)
@@ -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];
index 6cd464c9095f68489acb688a5432ee04947c44ca..cfbbbf8500c345bcbfba6eabff24fb747773b0a5 100644 (file)
@@ -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 }
 };