Skip to content

Commit e66ae37

Browse files
btw616jmberg-intel
authored andcommitted
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 28fa468 ("um: Remove broken SMP support"). While at it, remove the outdated comment. Signed-off-by: Tiwei Bie <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent be6a037 commit e66ae37

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

arch/um/include/asm/processor-generic.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ extern void start_thread(struct pt_regs *regs, unsigned long entry,
7171

7272
struct cpuinfo_um {
7373
unsigned long loops_per_jiffy;
74-
int ipi_pipe[2];
7574
int cache_alignment;
7675
union {
7776
__u32 x86_capability[NCAPINTS + NBUGINTS];

arch/um/kernel/um_arch.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,9 @@ static void __init add_arg(char *arg)
5454

5555
/*
5656
* 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.
5957
*/
6058
struct cpuinfo_um boot_cpu_data = {
6159
.loops_per_jiffy = 0,
62-
.ipi_pipe = { -1, -1 },
6360
.cache_alignment = L1_CACHE_BYTES,
6461
.x86_capability = { 0 }
6562
};

0 commit comments

Comments
 (0)