Re: [PATCHSET] Announce: High-res timers, tickless/dyntick and dynamic HZ

Steven Rostedt
2006-06-25T13:07:17Z

Hi Thomas,

I finally was able to try -V5. And hit the following:

WARNING: "hrtimer_stop_sched_tick" [drivers/acpi/processor.ko] undefined!
WARNING: "hrtimer_restart_sched_tick" [drivers/acpi/processor.ko] undefined!

Here's the patch.

-- Steve

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Index: linux-2.6.17/kernel/hrtimer.c
===================================================================
--- linux-2.6.17.orig/kernel/hrtimer.c 2006-06-24 18:47:22.000000000 -0400
+++ linux-2.6.17/kernel/hrtimer.c 2006-06-24 18:48:03.000000000 -0400
@@ -550,6 +550,7 @@ int hrtimer_stop_sched_tick(void)

return need_resched();
}
+EXPORT_SYMBOL_GPL(hrtimer_stop_sched_tick);

void hrtimer_restart_sched_tick(void)
{
@@ -584,6 +585,7 @@ void hrtimer_restart_sched_tick(void)
HRTIMER_ABS);
local_irq_restore(flags);
}
+EXPORT_SYMBOL_GPL(hrtimer_restart_sched_tick);

void show_no_hz_stats(struct seq_file *p)
{