Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm/pmap Make this compile on booke again.



details:   https://anonhg.NetBSD.org/src/rev/ea2b72a5c565
branches:  trunk
changeset: 328423:ea2b72a5c565
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Apr 03 13:54:59 2014 +0000

description:
Make this compile on booke again.

diffstat:

 sys/uvm/pmap/pmap_tlb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 9843c451f450 -r ea2b72a5c565 sys/uvm/pmap/pmap_tlb.c
--- a/sys/uvm/pmap/pmap_tlb.c   Thu Apr 03 06:34:58 2014 +0000
+++ b/sys/uvm/pmap/pmap_tlb.c   Thu Apr 03 13:54:59 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_tlb.c,v 1.5 2014/03/30 15:26:15 matt Exp $        */
+/*     $NetBSD: pmap_tlb.c,v 1.6 2014/04/03 13:54:59 matt Exp $        */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.5 2014/03/30 15:26:15 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_tlb.c,v 1.6 2014/04/03 13:54:59 matt Exp $");
 
 /*
  * Manages address spaces in a TLB.
@@ -947,8 +947,8 @@
        KASSERT(pm != pmap_kernel());
 #if defined(MULTIPROCESSOR)
        //KASSERT(!kcpuset_iszero(pm->pm_onproc)); // XXX
+       struct cpu_info * const ci __diagused = curcpu();
 #if PMAP_TLB_MAX > 1
-       struct cpu_info * const ci = curcpu();
        for (u_int i = 0; !kcpuset_iszero(pm->pm_active); i++) {
                KASSERT(i < pmap_ntlbs);
                struct pmap_tlb_info * const ti = pmap_tlbs[i];



Home | Main Index | Thread Index | Old Index