aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/dumpstack.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2017-07-28 06:00:30 -0700
committerIngo Molnar <[email protected]>2017-07-30 12:04:40 +0200
commit385eca8f277c4c34f361a4c3a088fd876d29ae21 (patch)
tree741009fbb9b67a8d6934b087f71b474784cfe107 /arch/x86/kernel/dumpstack.c
parent21ec3bf6aeb4033210747837421e63286ba32646 (diff)
x86/asm/32: Make pt_regs's segment registers be 16 bits
Many 32-bit x86 CPUs do 16-bit writes when storing segment registers to memory. This can cause the high word of regs->[cdefgs]s to occasionally contain garbage. Rather than making the entry code more complicated to fix up the garbage, just change pt_regs to reflect reality. Signed-off-by: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/kernel/dumpstack.c')
0 files changed, 0 insertions, 0 deletions