summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/lib/setjmp.S')
-rw-r--r--arch/riscv/lib/setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/setjmp.S b/arch/riscv/lib/setjmp.S
index 8f5a6a23aa..72bc9241f6 100644
--- a/arch/riscv/lib/setjmp.S
+++ b/arch/riscv/lib/setjmp.S
@@ -6,7 +6,7 @@
#include <config.h>
#include <linux/linkage.h>
-#ifdef CONFIG_CPU_RISCV_64
+#ifdef CONFIG_ARCH_RV64I
#define STORE_IDX(reg, idx) sd reg, (idx*8)(a0)
#define LOAD_IDX(reg, idx) ld reg, (idx*8)(a0)
#else