Message ID | 1361561562-5136-1-git-send-email-paul.gortmaker@windriver.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Feb 22, 2013 at 02:32:42PM -0500, Paul Gortmaker wrote: > The preempt-rt patches no longer use CONFIG_PREEMPT_RT in > the 3.4 (and newer) versions. So even though LTSI doesn't > include RT, having this define present can lead to an easy > to overlook bug for anyone who does try to layer RT onto > the LTSI baseline. > > Update it to use the currently used define name by RT. > > Reported-by: Jim Somerville <Jim.Somerville@windriver.com> > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Applied, thanks. greg k-h
diff --git a/drivers/staging/lttng/lttng-events.c b/drivers/staging/lttng/lttng-events.c index 954e9ce..9dcd609 100644 --- a/drivers/staging/lttng/lttng-events.c +++ b/drivers/staging/lttng/lttng-events.c @@ -51,7 +51,7 @@ int _lttng_session_metadata_statedump(struct lttng_session *session); void synchronize_trace(void) { synchronize_sched(); -#ifdef CONFIG_PREEMPT_RT +#ifdef CONFIG_PREEMPT_RT_FULL synchronize_rcu(); #endif }
The preempt-rt patches no longer use CONFIG_PREEMPT_RT in the 3.4 (and newer) versions. So even though LTSI doesn't include RT, having this define present can lead to an easy to overlook bug for anyone who does try to layer RT onto the LTSI baseline. Update it to use the currently used define name by RT. Reported-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- [caused by LTSI patch patches.lttng/lttng-update-to-v2.0.1.patch] drivers/staging/lttng/lttng-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)