Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc don't set ksi_errno here. no other MD ...
details: https://anonhg.NetBSD.org/src/rev/f59a72917c94
branches: trunk
changeset: 751232:f59a72917c94
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jan 29 05:17:36 2010 +0000
description:
don't set ksi_errno here. no other MD code does, and one
of the pthread tests demands it.
diffstat:
sys/arch/sparc/sparc/trap.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 4346bb1de199 -r f59a72917c94 sys/arch/sparc/sparc/trap.c
--- a/sys/arch/sparc/sparc/trap.c Fri Jan 29 05:14:11 2010 +0000
+++ b/sys/arch/sparc/sparc/trap.c Fri Jan 29 05:17:36 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.180 2010/01/10 03:36:30 mrg Exp $ */
+/* $NetBSD: trap.c,v 1.181 2010/01/29 05:17:36 mrg Exp $ */
/*
* Copyright (c) 1996
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.180 2010/01/10 03:36:30 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.181 2010/01/29 05:17:36 mrg Exp $");
#include "opt_ddb.h"
#include "opt_compat_svr4.h"
@@ -967,7 +967,6 @@
ksi.ksi_code = (rv == EACCES
? SEGV_ACCERR : SEGV_MAPERR);
}
- ksi.ksi_errno = rv;
ksi.ksi_trap = type;
ksi.ksi_addr = (void *)v;
trapsignal(l, &ksi);
@@ -1255,7 +1254,6 @@
ksi.ksi_code = (rv == EACCES)
? SEGV_ACCERR : SEGV_MAPERR;
}
- ksi.ksi_errno = rv;
ksi.ksi_trap = type;
ksi.ksi_addr = (void *)sfva;
trapsignal(l, &ksi);
Home |
Main Index |
Thread Index |
Old Index