NetBSD-Bugs archive

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

kern/46371: Add missing parenthesis in pmap_tbl.c



>Number:         46371
>Category:       kern
>Synopsis:       Add missing parenthesis in pmap_tbl.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 08:00:17 +0000 2012
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Add missing parenthesis in pmap_tbl.c .
>How-To-Repeat:

>Fix:
diff -u -p -r1.11 pmap_tlb.c
--- sys/common/pmap/tlb/pmap_tlb.c      27 Sep 2011 01:02:37 -0000      1.11
+++ sys/common/pmap/tlb/pmap_tlb.c      22 Apr 2012 08:40:34 -0000
@@ -608,7 +608,7 @@ pmap_tlb_shootdown_bystanders(pmap_t pm)
                        ipi_sent = true;
                        continue;
                }
-               if (!CPUSET_EMPTY_P(CPUSET_SUBSET(pm->pm_active, 
ti->ti_cpu_mask) {
+               if (!CPUSET_EMPTY_P(CPUSET_SUBSET(pm->pm_active, 
ti->ti_cpu_mask))) {
                        /*
                         * If this pmap has an ASID assigned but it's not
                         * currently running, nuke its ASID.  Next time the



Home | Main Index | Thread Index | Old Index