NetBSD-Bugs archive

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

port-sparc64/41856: Misplaced #endif



>Number:         41856
>Category:       port-sparc64
>Synopsis:       Misplaced #endif
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 10:50:00 +0000 2009
>Originator:     Henning Petersen
>Release:        current-NetBSD
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
diff -u -r1.236 pmap.c
--- sys/arch/sparc64/sparc64/pmap.c     21 Apr 2009 21:30:00 -0000      1.236
+++ sys/arch/sparc64/sparc64/pmap.c     9 Aug 2009 05:28:07 -0000
@@ -2687,9 +2687,9 @@
                if (res)
                        pv->pv_va |= PV_WE;
 #endif
-#endif
                mutex_exit(&pmap_lock);
        }
+#endif
 
        DPRINTF(PDB_CHANGEPROT|PDB_REF, ("pmap_is_modified(%p) = %d\n", pg,
            res));



Home | Main Index | Thread Index | Old Index