diff options
author | Chuang Wang <nashuiliang@gmail.com> | 2022-11-29 09:39:51 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-10 12:37:14 +0100 |
commit | 9fcad995c6c52cc9791f7ee9f1386a5684055f9c (patch) | |
tree | 59debf93ae4d59458c437d624b16ac4da9d78d7f /tools/include/nolibc/errno.h | |
parent | perf/core: Change the layout of perf_sample_data (diff) | |
download | linux-9fcad995c6c52cc9791f7ee9f1386a5684055f9c.tar.xz linux-9fcad995c6c52cc9791f7ee9f1386a5684055f9c.zip |
x86/kprobes: Use switch-case for 0xFF opcodes in prepare_emulation
For the `FF /digit` opcodes in prepare_emulation, use switch-case
instead of hand-written code to make the logic easier to understand.
Signed-off-by: Chuang Wang <nashuiliang@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20221129084022.718355-1-nashuiliang@gmail.com
Diffstat (limited to 'tools/include/nolibc/errno.h')
0 files changed, 0 insertions, 0 deletions