Module Name: src Committed By: palle Date: Thu Jun 5 19:47:24 UTC 2014
Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sun4v: note missing handling in pmap_calculate_colors() To generate a diff of this commit: cvs rdiff -u -r1.287 -r1.288 src/sys/arch/sparc64/sparc64/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc64/sparc64/pmap.c diff -u src/sys/arch/sparc64/sparc64/pmap.c:1.287 src/sys/arch/sparc64/sparc64/pmap.c:1.288 --- src/sys/arch/sparc64/sparc64/pmap.c:1.287 Wed May 21 19:33:51 2014 +++ src/sys/arch/sparc64/sparc64/pmap.c Thu Jun 5 19:47:24 2014 @@ -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 @@ static int pmap_calculate_colors(void) /* 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 */