summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-21 23:56:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-21 23:56:55 +0000
commite75943d8996c486b5a5e70675a74ece6ff708469 (patch)
tree4d9b49965be76cb7b2a953145ab9386961af86d2 /sys/arch/luna88k
parent896826fa125e5d339a36662fdda6b10d51e8cc87 (diff)
Change the EF_xxx constants to be real offsets within the trapframe, instead
of offsets / sizeof(register_t), and nuke the REG_OFF macro. No functional change.
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/luna88k/eh.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/luna88k/luna88k/eh.S b/sys/arch/luna88k/luna88k/eh.S
index 28090cb8946..295f0c02f78 100644
--- a/sys/arch/luna88k/luna88k/eh.S
+++ b/sys/arch/luna88k/luna88k/eh.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: eh.S,v 1.7 2006/04/17 16:07:59 miod Exp $ */
+/* $OpenBSD: eh.S,v 1.8 2007/12/21 23:56:54 miod Exp $ */
/*
* Copyright (c) 2006, Miodrag Vallat
*
@@ -40,9 +40,9 @@
#define PFSR_SAVE \
ld TMP2, TMP, CI_PFSR_I0; \
ld TMP3, TMP2, r0; \
- st TMP3, r31, REG_OFF(EF_IPFSR); \
+ st TMP3, r31, EF_IPFSR; \
ld TMP2, TMP, CI_PFSR_D0; \
ld TMP3, TMP2, r0; \
- st TMP3, r31, REG_OFF(EF_DPFSR)
+ st TMP3, r31, EF_DPFSR
#include <m88k/m88k/eh_common.S>