summaryrefslogtreecommitdiffstats
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 634b55d..910e71a 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
OpenPOWER on IntegriCloud