aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/reg.h')
-rw-r--r--arch/mips/include/asm/reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/reg.h b/arch/mips/include/asm/reg.h
index 634b55d7e7f..910e71a1246 100644
--- a/arch/mips/include/asm/reg.h
+++ b/arch/mips/include/asm/reg.h
@@ -69,7 +69,7 @@
#endif
-#ifdef CONFIG_64BIT
+#if defined(CONFIG_64BIT) && !defined(WANT_COMPAT_REG_H)
#define EF_R0 0
#define EF_R1 1