summaryrefslogtreecommitdiff
path: root/v/entry.S
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2016-12-06 17:02:41 -0800
committerAndrew Waterman <andrew@sifive.com>2016-12-06 17:02:56 -0800
commit9e219c9ca70459bfda9067d637bb8bf52c5f0326 (patch)
tree6755893cfb81544e3050d91d2a65ca0930dcb5ec /v/entry.S
parentce70afbf50a203be04bc326326cfa75831fe7f5d (diff)
downloadenv-9e219c9ca70459bfda9067d637bb8bf52c5f0326.zip
env-9e219c9ca70459bfda9067d637bb8bf52c5f0326.tar.gz
env-9e219c9ca70459bfda9067d637bb8bf52c5f0326.tar.bz2
avoid non-standard predefined macros
Diffstat (limited to 'v/entry.S')
-rw-r--r--v/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/v/entry.S b/v/entry.S
index ae4e57c..8234fc3 100644
--- a/v/entry.S
+++ b/v/entry.S
@@ -1,6 +1,6 @@
#include "riscv_test.h"
-#ifdef __riscv64
+#if __riscv_xlen == 64
# define STORE sd
# define LOAD ld
# define REGBYTES 8