Re: 2.6.18-rt1
From: Daniel Walker
Date: Wed Sep 20 2006 - 13:02:01 EST
On Wed, 2006-09-20 at 12:50 -0400, Gene Heskett wrote:
> LD .tmp_vmlinux1
> kernel/built-in.o(.text+0x16f25): In function `hrtimer_start':
> : undefined reference to `hrtimer_update_timer_prio'
> make: *** [.tmp_vmlinux1] Error 1
>
> about half way thru the normal time. config attached. I don't think hires
> timers are enabled.
>
> Comments?
>
Fix attached.
Daniel
---
kernel/hrtimer.c | 1 +
1 files changed, 1 insertion(+)
Index: linux-2.6.18/kernel/hrtimer.c
===================================================================
--- linux-2.6.18.orig/kernel/hrtimer.c
+++ linux-2.6.18/kernel/hrtimer.c
@@ -918,6 +918,7 @@ static inline void hrtimer_resume_jiffie
#else
# define hrtimer_hres_active 0
+# define hrtimer_update_timer_prio(t) do { } while (0)
# define hrtimer_check_clocks() do { } while (0)
# define hrtimer_enqueue_reprogram(t,b) 0
# define hrtimer_force_reprogram(b) do { } while (0)