diff options
author | Samuel Neves <sneves@dei.uc.pt> | 2018-09-01 21:14:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-24 07:59:16 +0200 |
commit | 1e3de68962903b4234bd6dfd60a6d829a56db64b (patch) | |
tree | ee4421d5cead145d3480a38521d1ec60f8d04f1e /arch/x86/include/asm/orc_types.h | |
parent | 552e8e39e155bf8532a8c602ebf070dd8d4c4c41 (diff) |
x86/vdso: Fix lsl operand order
commit e78e5a91456fcecaa2efbb3706572fe043766f4d upstream.
In the __getcpu function, lsl is using the wrong target and destination
registers. Luckily, the compiler tends to choose %eax for both variables,
so it has been working so far.
Fixes: a582c540ac1b ("x86/vdso: Use RDPID in preference to LSL when available")
Signed-off-by: Samuel Neves <sneves@dei.uc.pt>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20180901201452.27828-1-sneves@dei.uc.pt
Signed-off-by: Nobuhiro Iwamatsu (CIP) <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/orc_types.h')
0 files changed, 0 insertions, 0 deletions