diff options
author | Chuang Wang <nashuiliang@gmail.com> | 2022-11-29 11:39:51 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-10 14:37:14 +0300 |
commit | 9fcad995c6c52cc9791f7ee9f1386a5684055f9c (patch) | |
tree | 59debf93ae4d59458c437d624b16ac4da9d78d7f /arch/x86/events/intel | |
parent | 7bdb1767bf011c7f6065ac483ad2f00e434c3979 (diff) | |
download | linux-9fcad995c6c52cc9791f7ee9f1386a5684055f9c.tar.xz |
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 'arch/x86/events/intel')
0 files changed, 0 insertions, 0 deletions