Re: [ANNOUNCE] 3.0-rt4

From: Yong Zhang
Date: Thu Jul 28 2011 - 05:42:18 EST


On Wed, Jul 27, 2011 at 11:37:09PM +0200, Thomas Gleixner wrote:
> Dear RT Folks,
>
> I'm pleased to announce the 3.0-rt4 release.
>

Building error if !PREEMPT_RT:

CC kernel/hrtimer.o
kernel/hrtimer.c: In function âhrtimer_interruptâ:
kernel/hrtimer.c:1459:27: error: âhrtimer_wakeupâ undeclared (first use in this function)
kernel/hrtimer.c:1459:27: note: each undeclared identifier is reported only
once for each function it appears in
make[1]: *** [kernel/hrtimer.o] Error 1

Patch is here and seems it could be scrolled into
hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch :)

Thanks,
Yong

---
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 38343f8..a7ec41a 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1295,10 +1295,10 @@ static void __run_hrtimer(struct hrtimer *timer, ktime_t *now)
}


-#ifdef CONFIG_PREEMPT_RT_BASE
-
static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);

+#ifdef CONFIG_PREEMPT_RT_BASE
+
static void hrtimer_rt_reprogram(int restart, struct hrtimer *timer,
struct hrtimer_clock_base *base)
{



--
Only stand for myself
--
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/