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 sprinkle some __diagused where appropri...
details: https://anonhg.NetBSD.org/src/rev/db60e9bec524
branches: trunk
changeset: 791026:db60e9bec524
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Nov 01 06:22:46 2013 +0000
description:
sprinkle some __diagused where appropriate.
diffstat:
sys/arch/sparc/sparc/pmap.c | 8 ++++----
sys/arch/sparc/sparc/trap.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 79431ea53f66 -r db60e9bec524 sys/arch/sparc/sparc/pmap.c
--- a/sys/arch/sparc/sparc/pmap.c Fri Nov 01 06:22:24 2013 +0000
+++ b/sys/arch/sparc/sparc/pmap.c Fri Nov 01 06:22:46 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.350 2013/01/07 16:59:18 chs Exp $ */
+/* $NetBSD: pmap.c,v 1.351 2013/11/01 06:22:46 mrg Exp $ */
/*
* Copyright (c) 1996
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.350 2013/01/07 16:59:18 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.351 2013/11/01 06:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -910,7 +910,7 @@
{
vaddr_t va;
paddr_t pa;
- bool rv;
+ bool rv __diagused;
va = (vaddr_t)v;
rv = pmap_extract(pmap_kernel(), va, &pa);
@@ -2635,7 +2635,7 @@
return;
for (; pv != NULL; pv = pv->pv_next) {
- int tpte;
+ int tpte __diagused;
pm = pv->pv_pmap;
/* XXXSMP: should lock pm */
va = pv->pv_va;
diff -r 79431ea53f66 -r db60e9bec524 sys/arch/sparc/sparc/trap.c
--- a/sys/arch/sparc/sparc/trap.c Fri Nov 01 06:22:24 2013 +0000
+++ b/sys/arch/sparc/sparc/trap.c Fri Nov 01 06:22:46 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.190 2012/05/01 09:40:15 martin Exp $ */
+/* $NetBSD: trap.c,v 1.191 2013/11/01 06:22:46 mrg Exp $ */
/*
* Copyright (c) 1996
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.190 2012/05/01 09:40:15 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.191 2013/11/01 06:22:46 mrg Exp $");
#include "opt_ddb.h"
#include "opt_compat_svr4.h"
@@ -1269,7 +1269,7 @@
{
ucontext_t *uc = arg;
lwp_t *l = curlwp;
- int error;
+ int error __diagused;
error = cpu_setmcontext(l, &uc->uc_mcontext, uc->uc_flags);
KASSERT(error == 0);
Home |
Main Index |
Thread Index |
Old Index