summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-06-03 05:18:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-06-03 05:18:44 +0000
commit30b3afa4e9c2fec3ab729839d3fa2f1721ebbb90 (patch)
tree27d016b5d7747e62ee963f913e8c0d881714090e /sys
parentb78f2d16680a52423f392938f4be58ba6a159296 (diff)
Signal bus errors when a write back operation fails on 88110.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/m88k/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/m88k/trap.c b/sys/arch/m88k/m88k/trap.c
index 8a8c4314be1..809bdf5a9ad 100644
--- a/sys/arch/m88k/m88k/trap.c
+++ b/sys/arch/m88k/m88k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.3 2004/06/03 05:17:36 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.4 2004/06/03 05:18:43 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -921,7 +921,7 @@ m88110_user_fault:
} else
if (frame->tf_dsr & (CMMU_DSR_CP | CMMU_DSR_WA)) {
/* copyback or write allocate error */
- result = 0;
+ result = EACCES;
} else
if (frame->tf_dsr & CMMU_DSR_WE) {
/* write fault */