linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/1] PREEMPT_RT: Fix compile error in case high-res-timers are not configured.
@ 2009-04-25 18:47 Remy Bohmer
  0 siblings, 0 replies; only message in thread
From: Remy Bohmer @ 2009-04-25 18:47 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: LKML, rt-users, Remy Bohmer

[-- Attachment #1: repair-build-failure-in-case-hrtimers-are-disabled.patch --]
[-- Type: text/plain, Size: 802 bytes --]

2.6.29.1-rt does not compile if high-res-timers are not configured
It can, for example, be reproduced by using at91sam9261ek_defconfig (ARM)

Signed-off-by: Remy Bohmer <linux@bohmer.net>
---
 kernel/hrtimer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.29/kernel/hrtimer.c
===================================================================
--- linux-2.6.29.orig/kernel/hrtimer.c	2009-04-25 18:32:54.000000000 +0200
+++ linux-2.6.29/kernel/hrtimer.c	2009-04-25 18:36:27.000000000 +0200
@@ -1230,7 +1230,7 @@ static void __run_hrtimer(struct hrtimer
 	timer->state &= ~HRTIMER_STATE_CALLBACK;
 }
 
-#ifdef CONFIG_PREEMPT_RT
+#if defined(CONFIG_PREEMPT_RT) && defined(CONFIG_HIGH_RES_TIMERS)
 
 
 static void hrtimer_rt_reprogram(int restart, struct hrtimer *timer,

-- 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-25 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-25 18:47 [patch 1/1] PREEMPT_RT: Fix compile error in case high-res-timers are not configured Remy Bohmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).