From 060035eb31c36c4eb8a9247ff6954ca2501f73b0 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Tue, 18 Sep 2012 20:18:35 +0200 Subject: [PATCH] kernel/usched_dfly: Small UP compilation fix. --- sys/kern/usched_dfly.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/usched_dfly.c b/sys/kern/usched_dfly.c index 5e2b0e3a91..28848cb420 100644 --- a/sys/kern/usched_dfly.c +++ b/sys/kern/usched_dfly.c @@ -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; /* -- 2.41.0