From: john stultz <johnstul@us.ibm.com>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>
Cc: Clark Williams <williams@redhat.com>,
Steven Rostedt <srostedt@redhat.com>,
lkml <linux-kernel@vger.kernel.org>,
Darren Hart <dvhltc@us.ibm.com>
Subject: [PATCH -rt] Fix build error with !CONFIG_PREEMPT_RT
Date: Tue, 04 Aug 2009 16:30:52 -0700 [thread overview]
Message-ID: <1249428652.3289.19.camel@localhost> (raw)
Hey Thomas, Ingo,
Here's a small build fix to get !CONFIG_PREEMPT_RT +
CONFIG_PREEMPT_HARDIRQS to build. Not sure why this change was
introduced between 2.6.29-rt and 2.6.31-rt, but this sets it back.
Tested with and without CONFIG_PREEMPT_RT and with and without
CONFIG_PREEMPT_HARDIRQS.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Index: 2.6.31-rc4-rt1/include/linux/bottom_half.h
===================================================================
--- 2.6.31-rc4-rt1.orig/include/linux/bottom_half.h 2009-08-04 16:14:13.000000000 -0700
+++ 2.6.31-rc4-rt1/include/linux/bottom_half.h 2009-08-04 16:14:25.000000000 -0700
@@ -1,7 +1,7 @@
#ifndef _LINUX_BH_H
#define _LINUX_BH_H
-#ifdef CONFIG_PREEMPT_RT
+#ifdef CONFIG_PREEMPT_HARDIRQS
# define local_bh_disable() do { } while (0)
# define __local_bh_disable(ip) do { } while (0)
# define _local_bh_enable() do { } while (0)
reply other threads:[~2009-08-04 23:30 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=1249428652.3289.19.camel@localhost \
--to=johnstul@us.ibm.com \
--cc=dvhltc@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=srostedt@redhat.com \
--cc=tglx@linutronix.de \
--cc=williams@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.