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 Fix build w/o options SUN4_MMU3L.
details: https://anonhg.NetBSD.org/src/rev/93072c0305bc
branches: trunk
changeset: 329060:93072c0305bc
user: nakayama <nakayama%NetBSD.org@localhost>
date: Sat May 03 11:17:06 2014 +0000
description:
Fix build w/o options SUN4_MMU3L.
diffstat:
sys/arch/sparc/sparc/pmap.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r c6c23bd73b34 -r 93072c0305bc sys/arch/sparc/sparc/pmap.c
--- a/sys/arch/sparc/sparc/pmap.c Sat May 03 07:06:31 2014 +0000
+++ b/sys/arch/sparc/sparc/pmap.c Sat May 03 11:17:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.357 2013/12/16 15:48:29 mrg Exp $ */
+/* $NetBSD: pmap.c,v 1.358 2014/05/03 11:17:06 nakayama Exp $ */
/*
* Copyright (c) 1996
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.357 2013/12/16 15:48:29 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.358 2014/05/03 11:17:06 nakayama Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -1255,10 +1255,10 @@
mmu_reservemon4_4c(int *nrp, int *nsp)
{
u_int va = 0, eva = 0;
- int mmuseg, i, nr, ns, vr, lastvr;
+ int mmuseg, i, nr, ns, vr;
int *pte;
#if defined(SUN4_MMU3L)
- int mmureg;
+ int mmureg, lastvr = 0;
#endif
struct regmap *rp;
@@ -1276,7 +1276,6 @@
#endif
ns = *nsp;
nr = *nrp;
- lastvr = 0;
while (va < eva) {
vr = VA_VREG(va);
rp = &pmap_kernel()->pm_regmap[vr];
Home |
Main Index |
Thread Index |
Old Index