diff options
| author | Samuel Neves <[email protected]> | 2018-09-01 20:14:52 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-09-01 21:01:56 +0000 |
| commit | e78e5a91456fcecaa2efbb3706572fe043766f4d (patch) | |
| tree | 99f38fa6807bb35d9db236dd0a2311c1feffdb4f /tools/lib/bpf/str_error.c | |
| parent | x86/mce: Fix set_mce_nospec() to avoid #GP fault (diff) | |
| download | kernel-e78e5a91456fcecaa2efbb3706572fe043766f4d.tar.gz kernel-e78e5a91456fcecaa2efbb3706572fe043766f4d.zip | |
x86/vdso: Fix lsl operand order
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions
