Index: linux-3.4/kernel/rcutree_plugin.h =================================================================== --- linux-3.4.orig/kernel/rcutree_plugin.h +++ linux-3.4/kernel/rcutree_plugin.h @@ -1938,6 +1938,12 @@ static void rcu_prepare_for_idle(int cpu { } +#ifdef CONFIG_RCU_CPU_STALL_INFO +static void print_cpu_stall_fast_no_hz(char *cp, int cpu) +{ +} +#endif /* #ifdef CONFIG_RCU_CPU_STALL_INFO */ + #else /* #if !defined(CONFIG_RCU_FAST_NO_HZ) */ /* @@ -2184,12 +2190,8 @@ static void rcu_prepare_for_idle(int cpu trace_rcu_prep_idle("Callbacks drained"); } -#endif /* #else #if !defined(CONFIG_RCU_FAST_NO_HZ) */ #ifdef CONFIG_RCU_CPU_STALL_INFO - -#ifdef CONFIG_RCU_FAST_NO_HZ - static void print_cpu_stall_fast_no_hz(char *cp, int cpu) { struct hrtimer *hrtp = &per_cpu(rcu_idle_gp_timer, cpu); @@ -2201,14 +2203,11 @@ static void print_cpu_stall_fast_no_hz(c ? ktime_to_us(hrtimer_get_remaining(hrtp)) : -1); } +#endif /* #ifdef CONFIG_RCU_CPU_STALL_INFO */ -#else /* #ifdef CONFIG_RCU_FAST_NO_HZ */ - -static void print_cpu_stall_fast_no_hz(char *cp, int cpu) -{ -} +#endif /* #else #if !defined(CONFIG_RCU_FAST_NO_HZ) */ -#endif /* #else #ifdef CONFIG_RCU_FAST_NO_HZ */ +#ifdef CONFIG_RCU_CPU_STALL_INFO /* Initiate the stall-info list. */ static void print_cpu_stall_info_begin(void) Index: linux-3.4/kernel/rtmutex.c =================================================================== --- linux-3.4.orig/kernel/rtmutex.c +++ linux-3.4/kernel/rtmutex.c @@ -1282,7 +1282,7 @@ void __rt_mutex_init(struct rt_mutex *lo debug_rt_mutex_init(lock, name); } -EXPORT_SYMBOL_GPL(__rt_mutex_init); +EXPORT_SYMBOL(__rt_mutex_init); /** * rt_mutex_init_proxy_locked - initialize and lock a rt_mutex on behalf of a Index: linux-3.4/kernel/sched/core.c =================================================================== --- linux-3.4.orig/kernel/sched/core.c +++ linux-3.4/kernel/sched/core.c @@ -3206,7 +3206,7 @@ void migrate_disable(void) p->migrate_disable = 1; preempt_enable(); } -EXPORT_SYMBOL_GPL(migrate_disable); +EXPORT_SYMBOL(migrate_disable); void migrate_enable(void) { @@ -3258,7 +3258,7 @@ void migrate_enable(void) unpin_current_cpu(); preempt_enable(); } -EXPORT_SYMBOL_GPL(migrate_enable); +EXPORT_SYMBOL(migrate_enable); #else static inline void update_migrate_disable(struct task_struct *p) { } #define migrate_disabled_updated(p) 0 Index: linux-3.4/localversion-rt =================================================================== --- linux-3.4.orig/localversion-rt +++ linux-3.4/localversion-rt @@ -1 +1 @@ --rt2 +-rt3