Skip to content

Commit 0440211

Browse files
minipliKAGA-KOKO
authored andcommitted
x86/cpu: Drop unneded members of struct cpuinfo_x86
Those member serve no purpose -- not even fill padding for alignment or such. So just get rid of them. Signed-off-by: Mathias Krause <minipli@googlemail.com> Acked-by: Borislav Petkov <bp@alien8.de> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Mikael Starvik <starvik@axis.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: "David S. Miller" <davem@davemloft.net> Link: http://lkml.kernel.org/r/1486933932-585-2-git-send-email-minipli@googlemail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 434fd63 commit 0440211

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

arch/x86/include/asm/processor.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ extern u16 __read_mostly tlb_lld_1g[NR_INFO];
8080

8181
/*
8282
* CPU type and hardware bug flags. Kept separately for each CPU.
83-
* Members of this structure are referenced in head.S, so think twice
83+
* Members of this structure are referenced in head_32.S, so think twice
8484
* before touching them. [mj]
8585
*/
8686

@@ -91,11 +91,6 @@ struct cpuinfo_x86 {
9191
__u8 x86_mask;
9292
#ifdef CONFIG_X86_32
9393
char wp_works_ok; /* It doesn't on 386's */
94-
95-
/* Problems on some 486Dx4's and old 386's: */
96-
char rfu;
97-
char pad0;
98-
char pad1;
9994
#else
10095
/* Number of 4K pages in DTLB/ITLB combined(in pages): */
10196
int x86_tlbsize;

0 commit comments

Comments
 (0)