OSDN Git Service

RISC-V: rename parse_asm.h to insn.h
authorHeiko Stuebner <heiko.stuebner@vrull.eu>
Fri, 23 Dec 2022 22:13:27 +0000 (23:13 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 29 Dec 2022 14:59:47 +0000 (06:59 -0800)
commitc9c1af3f186a2bdb828792658bb32b518edba692
tree01b7f2ad6de8599b600f0bfd672014d4445ef0b5
parentec5f908775160d4d635f99cbad9a5ea138894038
RISC-V: rename parse_asm.h to insn.h

The current parse_asm header should become a more centralized place
for everything concerning parsing and constructing instructions.

We already have a header insn-def.h similar to aarch64, so rename
parse_asm.h to insn.h (again similar to aarch64) to show that it's
meant for more than simple instruction parsing.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Link: https://lore.kernel.org/r/20221223221332.4127602-8-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/insn.h [moved from arch/riscv/include/asm/parse_asm.h with 100% similarity]
arch/riscv/kernel/kgdb.c
arch/riscv/kernel/probes/simulate-insn.h