Fix a typo and add PMAP_DEBUG to LINT.
authorSascha Wildner <saw@online.de>
Sat, 4 Dec 2010 21:00:49 +0000 (22:00 +0100)
committerSascha Wildner <saw@online.de>
Sat, 4 Dec 2010 21:00:49 +0000 (22:00 +0100)
sys/config/LINT
sys/platform/pc32/i386/pmap.c

index fbe6f04..489477f 100644 (file)
@@ -2847,6 +2847,7 @@ options           MBUF_DEBUG
 options        METEOR_TEST_VIDEO
 options        NETATALKDEBUG
 options        PANIC_DEBUG
+options        PMAP_DEBUG
 options        PSM_DEBUG=4
 options        SCSI_NCR_DEBUG
 options        SCSI_NCR_MAX_SYNC=10000
index 916b8cc..fe4ad9f 100644 (file)
@@ -639,7 +639,7 @@ ptbase_assert(struct pmap *pmap)
        /* are we current address space or kernel? */
        if (pmap == &kernel_pmap || frame == (((unsigned)PTDpde) & PG_FRAME))
                return;
-       KKASSERT(frame == (*mycpu->gd_GDMAP1 & PG_FRAME));
+       KKASSERT(frame == (*mdcpu->gd_GDMAP1 & PG_FRAME));
 }
 
 #else