kernel/usched_dfly: Small UP compilation fix.
authorSascha Wildner <saw@online.de>
Tue, 18 Sep 2012 18:18:35 +0000 (20:18 +0200)
committerSascha Wildner <saw@online.de>
Tue, 18 Sep 2012 18:18:35 +0000 (20:18 +0200)
sys/kern/usched_dfly.c

index 5e2b0e3..28848cb 100644 (file)
@@ -525,7 +525,9 @@ dfly_select_curproc(globaldata_t gd)
 static void
 dfly_setrunqueue(struct lwp *lp)
 {
+#ifdef SMP
        globaldata_t rgd;
+#endif
        dfly_pcpu_t rdd;
 
        /*