summaryrefslogtreecommitdiff
path: root/libcpu/mips
diff options
context:
space:
mode:
authorbigmagic <[email protected]>2020-04-07 19:01:54 +0800
committerbigmagic <[email protected]>2020-04-07 19:01:54 +0800
commitc27f13c6c9f2df5ce2fd74652d3388c3f3c5a843 (patch)
treefafff8658b0c8079c4bceb06cf130628a3ac5ff5 /libcpu/mips
parentc79f947fffe547a61a2b0afce303efde9efb542f (diff)
[mips]fix a bug
Diffstat (limited to 'libcpu/mips')
-rw-r--r--libcpu/mips/common/mips_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/mips/common/mips_regs.h b/libcpu/mips/common/mips_regs.h
index a7db15d2ad..c5dd727e23 100644
--- a/libcpu/mips/common/mips_regs.h
+++ b/libcpu/mips/common/mips_regs.h
@@ -17,7 +17,7 @@
#define REG_FP 30
#define REG_RA 31
-#ifdef ARCH_MIPS64
+#ifndef ARCH_MIPS64
#define zero $0 /* wired zero */
#define AT $1 /* assembler temp - uppercase because of ".set at" */
#define v0 $2 /* return value */