From: Mathieu Desnoyers Date: Fri, 14 Nov 2008 22:47:43 +0000 (-0500) Subject: tracepoints: use rcu_*_sched_notrace X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da7b3eab167091693ad215ad7692f7d0d24d1356;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git tracepoints: use rcu_*_sched_notrace Make sure tracepoints can be called within ftrace callbacks. Signed-off-by: Mathieu Desnoyers Signed-off-by: Ingo Molnar --- diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 63064e9403f2..69648c54a326 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -40,14 +40,14 @@ struct tracepoint { do { \ void **it_func; \ \ - rcu_read_lock_sched(); \ + rcu_read_lock_sched_notrace(); \ it_func = rcu_dereference((tp)->funcs); \ if (it_func) { \ do { \ ((void(*)(proto))(*it_func))(args); \ } while (*(++it_func)); \ } \ - rcu_read_unlock_sched(); \ + rcu_read_unlock_sched_notrace(); \ } while (0) /*