[PATCH] Fix compilation of 2.6.23rc4-rt1 without CONFIG_PREEMPT_RT

2007-09-17 Thread Andi Kleen
count_active_rt_tasks() is undefined otherwise. Signed-off-by: Andi Kleen [EMAIL PROTECTED] Index: linux-2.6.23-rc4-rt1/kernel/timer.c === --- linux-2.6.23-rc4-rt1.orig/kernel/timer.c +++ linux-2.6.23-rc4-rt1/kernel/timer.c @@

Re: [PATCH] Fix compilation of 2.6.23rc4-rt1 without CONFIG_PREEMPT_RT

2007-09-17 Thread Sven-Thorsten Dietrich
On Mon, 2007-09-17 at 17:52 +0200, Andi Kleen wrote: count_active_rt_tasks() is undefined otherwise. This does fix the compile issue, but RT tasks can exist in !PREEMPT_RT as well. Sven Signed-off-by: Andi Kleen [EMAIL PROTECTED] Index: linux-2.6.23-rc4-rt1/kernel/timer.c

Re: [PATCH] Fix compilation of 2.6.23rc4-rt1 without CONFIG_PREEMPT_RT

2007-09-17 Thread Andi Kleen
On Monday 17 September 2007 18:02:54 Sven-Thorsten Dietrich wrote: On Mon, 2007-09-17 at 17:52 +0200, Andi Kleen wrote: count_active_rt_tasks() is undefined otherwise. This does fix the compile issue, but RT tasks can exist in !PREEMPT_RT as well. That might be, but neither