Fix build error with !CONFIG_PREEMPT_RT
PATCH 1/1 Fix build error with !CONFIG_PREEMPT_RT
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 <[email protected]>
include/linux/bottom_half.h +1 -1
@@ -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)