diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-08-09 14:39:45 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-10 13:14:58 +0200 |
commit | 603e492e861861ddfec7139a007abad74f0d3af0 (patch) | |
tree | ddc83a612c7960e21f889f1fd18ce44b817a182e /arch/x86/xen/smp.c | |
parent | 8a9949bc71a71b3dd633255ebe8f8869b1f73474 (diff) | |
download | talos-obmc-linux-603e492e861861ddfec7139a007abad74f0d3af0.tar.gz talos-obmc-linux-603e492e861861ddfec7139a007abad74f0d3af0.zip |
x86/asm/32: Fix regs_get_register() on segment registers
The segment register high words on x86_32 may contain garbage.
Teach regs_get_register() to read them as u16 instead of unsigned
long.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/0b76f6dbe477b7b1a81938fddcc3c483d48f0ff2.1502314765.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/xen/smp.c')
0 files changed, 0 insertions, 0 deletions