Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Fix 32bit build
details: https://anonhg.NetBSD.org/src/rev/28d663bb8e18
branches: trunk
changeset: 779016:28d663bb8e18
user: martin <martin%NetBSD.org@localhost>
date: Wed Apr 25 19:58:07 2012 +0000
description:
Fix 32bit build
diffstat:
sys/arch/sparc64/sparc64/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2318d824271e -r 28d663bb8e18 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c Wed Apr 25 18:23:58 2012 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c Wed Apr 25 19:58:07 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.175 2012/04/23 15:09:13 martin Exp $ */
+/* $NetBSD: trap.c,v 1.176 2012/04/25 19:58:07 martin Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.175 2012/04/23 15:09:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.176 2012/04/25 19:58:07 martin Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -746,7 +746,7 @@
sig = SIGBUS;
ksi.ksi_trap = type;
ksi.ksi_code = BUS_ADRALN;
- ksi.ksi_addr = (void*)dsfar;
+ ksi.ksi_addr = (void*)(intptr_t)dsfar;
}
break;
Home |
Main Index |
Thread Index |
Old Index