From: Remy Bohmer <linux@bohmer.net>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
rt-users <linux-rt-users@vger.kernel.org>,
Remy Bohmer <linux@bohmer.net>
Subject: [patch 1/1] PREEMPT_RT: Fix compile error in case high-res-timers are not configured.
Date: Sat, 25 Apr 2009 20:47:45 +0200 [thread overview]
Message-ID: <49f35c6f.1818d00a.3b20.ffff95d3@mx.google.com> (raw)
[-- 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,
--
reply other threads:[~2009-04-25 18:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49f35c6f.1818d00a.3b20.ffff95d3@mx.google.com \
--to=linux@bohmer.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).