Commit 0640b613 authored by Liao Chang's avatar Liao Chang Committed by sanglipeng
Browse files

riscv: Add header include guards to insn.h

stable inclusion
from stable-v5.10.175
commit e993e3ea9550d5b604748ada728386ca25372aae
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8711T

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e993e3ea9550d5b604748ada728386ca25372aae



--------------------------------

[ Upstream commit 8ac6e619 ]

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

Fixes: edde5584 ("riscv: Add SW single-step support for KDB")
Signed-off-by: default avatarLiao Chang <liaochang1@huawei.com>
Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Fixes: c9c1af3f ("RISC-V: rename parse_asm.h to insn.h")
Reviewed-by: default avatarConor 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: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent fd2c1e6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment