diff options
author | Jim Mattson <jmattson@google.com> | 2018-05-13 17:33:57 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-05-14 10:34:28 +0200 |
commit | 5f2b745f5e1304f438f9b2cd03ebc8120b6e0d3b (patch) | |
tree | f049f1b6f8802ea9f44349ae78f368429dad5123 /net/rxrpc/proc.c | |
parent | ffed645e3be0e32f8e9ab068d257aee8d0fe8eec (diff) |
x86/cpu: Make alternative_msr_write work for 32-bit code
Cast val and (val >> 32) to (u32), so that they fit in a
general-purpose register in both 32-bit and 64-bit code.
[ tglx: Made it u32 instead of uintptr_t ]
Fixes: c65732e4f721 ("x86/cpu: Restore CPUID_8000_0008_EBX reload")
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rxrpc/proc.c')
0 files changed, 0 insertions, 0 deletions