diff options
author | Heiko Stuebner <[email protected]> | 2022-12-23 23:13:26 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-12-29 06:59:46 -0800 |
commit | ec5f908775160d4d635f99cbad9a5ea138894038 (patch) | |
tree | 41bc73c6bcc9f82a59c88144dbac77feac78060c /scripts/generate_rust_analyzer.py | |
parent | cde4a69302a4a57374a9daa463c493ff45038c99 (diff) |
RISC-V: Move riscv_insn_is_* macros into a common header
Right now the riscv kernel has (at least) two independent sets
of functions to check if an encoded instruction is of a specific
type. One in kgdb and one kprobes simulate-insn code.
More parts of the kernel will probably need this in the future,
so instead of allowing this duplication to go on further,
move macros that do the function declaration in a common header,
similar to at least aarch64.
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions