summaryrefslogtreecommitdiffstats
path: root/sys/mips/include/reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/include/reg.h')
-rw-r--r--sys/mips/include/reg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/mips/include/reg.h b/sys/mips/include/reg.h
index c240506..0dc36c6 100644
--- a/sys/mips/include/reg.h
+++ b/sys/mips/include/reg.h
@@ -70,7 +70,7 @@ struct dbreg {
unsigned long junk;
};
-#ifdef COMPAT_FREEBSD32
+#ifdef __LP64__
/* Must match struct trapframe */
struct reg32 {
uint32_t r_regs[NUMSAVEREGS];
@@ -83,6 +83,8 @@ struct fpreg32 {
struct dbreg32 {
uint32_t junk;
};
+
+#define __HAVE_REG32
#endif
#ifdef _KERNEL
OpenPOWER on IntegriCloud