Re: [ANNOUNCE] 3.0.6-rt16

From: Frank Rowand
Date: Tue Oct 04 2011 - 22:46:23 EST


On 10/04/11 13:19, Thomas Gleixner wrote:
> Dear RT Folks,
>
> I'm pleased to announce the 3.0.6-rt16 release.


Fix compile error for non-SMP.

Can be folded into rt-sched-postpone-actual-migration-disalbe-to-schedule.patch

Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxx>
---
kernel/sched.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/kernel/sched.c
===================================================================
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4207,7 +4207,7 @@ static inline void schedule_debug(struct
schedstat_inc(this_rq(), sched_count);
}

-#ifdef CONFIG_PREEMPT_RT_FULL
+#if defined(CONFIG_PREEMPT_RT_FULL) && defined(CONFIG_SMP)
#define MIGRATE_DISABLE_SET_AFFIN (1<<30) /* Can't make a negative */
#define migrate_disabled_updated(p) ((p)->migrate_disable & MIGRATE_DISABLE_SET_AFFIN)
#define migrate_disable_count(p) ((p)->migrate_disable & ~MIGRATE_DISABLE_SET_AFFIN)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/