Module Name: src
Committed By: macallan
Date: Tue Dec 10 17:24:48 UTC 2013
Modified Files:
src/sys/arch/sparc/sparc: pmap.c
Log Message:
shut up an unused variable warning that shows up in UP kernels
To generate a diff of this commit:
cvs rdiff -u -r1.354 -r1.355 src/sys/arch/sparc/sparc/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/sparc/sparc/pmap.c
diff -u src/sys/arch/sparc/sparc/pmap.c:1.354 src/sys/arch/sparc/sparc/pmap.c:1.355
--- src/sys/arch/sparc/sparc/pmap.c:1.354 Sun Dec 8 10:12:39 2013
+++ src/sys/arch/sparc/sparc/pmap.c Tue Dec 10 17:24:47 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.354 2013/12/08 10:12:39 jdc Exp $ */
+/* $NetBSD: pmap.c,v 1.355 2013/12/10 17:24:47 macallan Exp $ */
/*
* Copyright (c) 1996
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.354 2013/12/08 10:12:39 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.355 2013/12/10 17:24:47 macallan Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -2323,6 +2323,8 @@ ctx_free(struct pmap *pm)
if (CPU_HAS_SRMMU) {
int i;
+ __USE(i);
+
cache_flush_context(ctx);
tlb_flush_context(ctx, PMAP_CPUSET(pm));
for (CPU_INFO_FOREACH(i, cpi)) {