summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/cfi.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/cfi.h')
-rw-r--r--arch/riscv/include/asm/cfi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/cfi.h b/arch/riscv/include/asm/cfi.h
index 56bf9d69d5..8f7a622570 100644
--- a/arch/riscv/include/asm/cfi.h
+++ b/arch/riscv/include/asm/cfi.h
@@ -7,8 +7,9 @@
*
* Copyright (C) 2023 Google LLC
*/
+#include <linux/bug.h>
-#include <linux/cfi.h>
+struct pt_regs;
#ifdef CONFIG_CFI_CLANG
enum bug_trap_type handle_cfi_failure(struct pt_regs *regs);