summaryrefslogtreecommitdiff
path: root/arch/riscv/errata/alternative.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/errata/alternative.c')
-rw-r--r--arch/riscv/errata/alternative.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/errata/alternative.c b/arch/riscv/errata/alternative.c
index 3b15885db70b..e8b4a0fe488c 100644
--- a/arch/riscv/errata/alternative.c
+++ b/arch/riscv/errata/alternative.c
@@ -22,7 +22,8 @@ static struct cpu_manufacturer_info_t {
} cpu_mfr_info;
static void (*vendor_patch_func)(struct alt_entry *begin, struct alt_entry *end,
- unsigned long archid, unsigned long impid);
+ unsigned long archid,
+ unsigned long impid) __initdata;
static inline void __init riscv_fill_cpu_mfr_info(void)
{