Re: 2.6.18-rt1

Daniel Walker
2006-09-20T17:01:46Z

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

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

[-- Attachment #2: fix_hrt_build_issue.patch --]
[-- Type: text/x-patch, Size: 550 bytes --]

---
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)