Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

um: Remove unused ipi_pipe field from cpuinfo_um

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>

authored by

Tiwei Bie and committed by
Johannes Berg
e66ae377 be6a0372

-4
-1
arch/um/include/asm/processor-generic.h
··· 71 71 72 72 struct cpuinfo_um { 73 73 unsigned long loops_per_jiffy; 74 - int ipi_pipe[2]; 75 74 int cache_alignment; 76 75 union { 77 76 __u32 x86_capability[NCAPINTS + NBUGINTS];
-3
arch/um/kernel/um_arch.c
··· 54 54 55 55 /* 56 56 * These fields are initialized at boot time and not changed. 57 - * XXX This structure is used only in the non-SMP case. Maybe this 58 - * should be moved to smp.c. 59 57 */ 60 58 struct cpuinfo_um boot_cpu_data = { 61 59 .loops_per_jiffy = 0, 62 - .ipi_pipe = { -1, -1 }, 63 60 .cache_alignment = L1_CACHE_BYTES, 64 61 .x86_capability = { 0 } 65 62 };