diff options
Diffstat (limited to 'arch/riscv/lib/setjmp.S')
-rw-r--r-- | arch/riscv/lib/setjmp.S | 2 |
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 @@ | |||
6 | #include <config.h> | 6 | #include <config.h> |
7 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
8 | 8 | ||
9 | #ifdef CONFIG_CPU_RISCV_64 | 9 | #ifdef CONFIG_ARCH_RV64I |
10 | #define STORE_IDX(reg, idx) sd reg, (idx*8)(a0) | 10 | #define STORE_IDX(reg, idx) sd reg, (idx*8)(a0) |
11 | #define LOAD_IDX(reg, idx) ld reg, (idx*8)(a0) | 11 | #define LOAD_IDX(reg, idx) ld reg, (idx*8)(a0) |
12 | #else | 12 | #else |