aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/config.h')
-rw-r--r--arch/riscv64/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv64/config.h b/arch/riscv64/config.h
index 765aa6b..aefcc8f 100644
--- a/arch/riscv64/config.h
+++ b/arch/riscv64/config.h
@@ -45,7 +45,7 @@
/** Top of virtual memory stack. */
#define VM_STACK_TOP (VM_STACK_BASE + VM_STACK_SIZE)
-#if defined(riscv64)
+#if __riscv_xlen == 64
/* 64bit */
/** Direct map offset. */