]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Add header include guards to insn.h
authorLiao Chang <liaochang1@huawei.com>
Sun, 29 Jan 2023 09:42:42 +0000 (17:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:21 +0000 (08:50 +0100)
commit4306d3be7b45addf286d7530c5e40642271747cf
treeacf5c712f4b46dc1dde7145edc9888cda60b8ac3
parentadd9c22534d08ae7fb4fd825456e218945dc04dc
riscv: Add header include guards to insn.h

[ Upstream commit 8d67620f8f7a6074e7b71a9512ac9a079c603101 ]

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

Fixes: 6167fe89f405 ("riscv: Add SW single-step support for KDB")
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Fixes: 933ebad06cf0 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/include/asm/parse_asm.h