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 sun4v: note missing handling in pma...



details:   https://anonhg.NetBSD.org/src/rev/364ed28c55e0
branches:  trunk
changeset: 329719:364ed28c55e0
user:      palle <palle%NetBSD.org@localhost>
date:      Thu Jun 05 19:47:24 2014 +0000

description:
sun4v: note missing handling in pmap_calculate_colors()

diffstat:

 sys/arch/sparc64/sparc64/pmap.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f8b7369cf279 -r 364ed28c55e0 sys/arch/sparc64/sparc64/pmap.c
--- a/sys/arch/sparc64/sparc64/pmap.c   Thu Jun 05 18:36:44 2014 +0000
+++ b/sys/arch/sparc64/sparc64/pmap.c   Thu Jun 05 19:47:24 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.287 2014/05/21 19:33:51 palle Exp $ */
+/*     $NetBSD: pmap.c,v 1.288 2014/06/05 19:47:24 palle Exp $ */
 /*
  *
  * Copyright (C) 1996-1999 Eduardo Horvath.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.287 2014/05/21 19:33:51 palle Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.288 2014/06/05 19:47:24 palle Exp $");
 
 #undef NO_VCACHE /* Don't forget the locked TLB in dostart */
 #define        HWREF
@@ -484,6 +484,7 @@
                /* Found a CPU, get the E$ info. */
                size = prom_getpropint(node, "ecache-size", -1);
                if (size == -1) {
+                       /* XXX sun4v support missing */
                        prom_printf("pmap_calculate_colors: node %x has "
                                "no ecache-size\n", node);
                        /* If we can't get the E$ size, skip the node */



Home | Main Index | Thread Index | Old Index