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 Fixed typo in comment + reorder par...
details: https://anonhg.NetBSD.org/src/rev/4a8cfd52c154
branches: trunk
changeset: 345229:4a8cfd52c154
user: palle <palle%NetBSD.org@localhost>
date: Fri May 13 21:21:43 2016 +0000
description:
Fixed typo in comment + reorder parameters for trap debug output to match function prototype for data_access_fault()
diffstat:
sys/arch/sparc64/sparc64/trap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 0216437cba44 -r 4a8cfd52c154 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c Fri May 13 21:21:25 2016 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c Fri May 13 21:21:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.182 2016/05/01 19:57:55 palle Exp $ */
+/* $NetBSD: trap.c,v 1.183 2016/05/13 21:21:43 palle 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.182 2016/05/01 19:57:55 palle Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.183 2016/05/13 21:21:43 palle Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -438,7 +438,7 @@
/*
* Called from locore.s trap handling, for non-MMU-related traps.
- * (MMU-related traps go through mem_access_fault, below.)
+ * (MMU-related traps go through data_access_fault, below.)
*/
void
trap(struct trapframe64 *tf, unsigned int type, vaddr_t pc, long tstate)
@@ -1053,7 +1053,7 @@
printf("%ld: data_access_fault(%p, %x, %p, %p, %lx, %lx) "
"nsaved=%d\n",
(long)(curproc?curproc->p_pid:-1), tf, type,
- (void *)addr, (void *)pc,
+ (void *)pc, (void *)addr,
sfva, sfsr, (int)curpcb->pcb_nsaved);
#ifdef DDB
if ((trapdebug & TDB_NSAVED && curpcb->pcb_nsaved))
Home |
Main Index |
Thread Index |
Old Index