Fix VKERNEL/i386 build.
authorSascha Wildner <saw@online.de>
Sun, 6 Jul 2014 09:06:28 +0000 (11:06 +0200)
committerSascha Wildner <saw@online.de>
Sun, 6 Jul 2014 09:06:28 +0000 (11:06 +0200)
sys/platform/vkernel/i386/mp.c
sys/platform/vkernel/platform/pmap.c

index 5959520..fba99c7 100644 (file)
@@ -99,8 +99,6 @@ static
 void
 ap_finish(void)
 {
-       int i;
-
         mp_finish = 1;
         if (bootverbose)
                 kprintf("Finish MP startup\n");
index 956fc47..356a2ed 100644 (file)
@@ -3069,6 +3069,7 @@ pmap_setlwpvm(struct lwp *lp, struct vmspace *newvm)
 {
        struct vmspace *oldvm;
        struct pmap *pmap;
+       struct mdglobaldata *gd = mdcpu;
 
        crit_enter();
        oldvm = lp->lwp_vmspace;