public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: LKML <linux-kernel@vger.kernel.org>, RT <linux-rt-users@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>, Clark Williams <clark@redhat.com>
Subject: [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config
Date: Mon, 12 Mar 2012 22:50:58 -0400	[thread overview]
Message-ID: <1331607058.25686.660.camel@gandalf.stny.rr.com> (raw)

Fix compiler error when CONFIG_PREEMPT is not set.

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

diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index 4125456..11412d7 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -95,6 +95,7 @@ do { \
 #define preempt_enable_no_resched()	do { } while (0)
 #define preempt_enable()		do { } while (0)
 #define preempt_check_resched()		do { } while (0)
+#define preempt_check_resched_rt()	do { } while (0)
 
 #define preempt_disable_notrace()		do { } while (0)
 #define preempt_enable_no_resched_notrace()	do { } while (0)



             reply	other threads:[~2012-03-13  2:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13  2:50 Steven Rostedt [this message]
2012-03-13 13:32 ` [PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config John Kacur
2012-03-13 18:13   ` Steven Rostedt

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=1331607058.25686.660.camel@gandalf.stny.rr.com \
    --to=rostedt@goodmis.org \
    --cc=clark@redhat.com \
    --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