public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -rt] Fix build error with !CONFIG_PREEMPT_RT
@ 2009-08-04 23:30 john stultz
  0 siblings, 0 replies; only message in thread
From: john stultz @ 2009-08-04 23:30 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar
  Cc: Clark Williams, Steven Rostedt, lkml, Darren Hart

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)



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

only message in thread, other threads:[~2009-08-04 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 23:30 [PATCH -rt] Fix build error with !CONFIG_PREEMPT_RT john stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox