riscv: Add header include guards to insn.h
authorLiao Chang <liaochang1@huawei.com>
Sun, 29 Jan 2023 09:42:42 +0000 (17:42 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 22 Feb 2023 01:22:54 +0000 (17:22 -0800)
commit8ac6e619d9d51b3eb5bae817db8aa94e780a0db4
tree6ae544b2900af34033e8f4bbb464b7f6a784c4b0
parentb19aa282c50344bbac8e50592b21bac624c51d5d
riscv: Add header include guards to insn.h

Add header include guards to insn.h to prevent repeating declaration of
any identifiers in insn.h.

Fixes: edde5584c7ab ("riscv: Add SW single-step support for KDB")
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Fixes: c9c1af3f186a ("RISC-V: rename parse_asm.h to insn.h")
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230129094242.282620-1-liaochang1@huawei.com
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/insn.h