diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-31 15:37:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-31 15:37:52 +0000 |
commit | 0b7d5ddc147e1e37473d44327d44c7f056de1cc9 (patch) | |
tree | 0d200fec790b3b2bd1f499a89c36534c09e98f4d /sys/arch/mac68k | |
parent | d9646e2bbe5f352b591ec2f22d273ff0c70b515a (diff) |
Fix KDFAULT() in the 68040 & non-68040 compilation case.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r-- | sys/arch/mac68k/mac68k/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/trap.c b/sys/arch/mac68k/mac68k/trap.c index f01f9a67df9..5b313ae4982 100644 --- a/sys/arch/mac68k/mac68k/trap.c +++ b/sys/arch/mac68k/mac68k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.43 2004/12/08 20:35:34 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.44 2005/07/31 15:37:51 miod Exp $ */ /* $NetBSD: trap.c,v 1.68 1998/12/22 08:47:07 scottr Exp $ */ /* @@ -119,7 +119,7 @@ short exframesize[] = { #ifdef M68040 #define KDFAULT(c) (mmutype == MMU_68040 ? \ ((c) & SSW4_TMMASK) == SSW4_TMKD : \ - ((c) & (SSW_DF|FC_SUPERD)) == (SSW_DF|FC_SUPERD)) + ((c) & (SSW_DF|SSW_FCMASK)) == (SSW_DF|FC_SUPERD)) #define WRFAULT(c) (mmutype == MMU_68040 ? \ ((c) & SSW4_RW) == 0 : \ ((c) & (SSW_DF|SSW_RW)) == SSW_DF) |