projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0baf9
)
tracepoints: use rcu_*_sched_notrace
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Fri, 14 Nov 2008 22:47:43 +0000
(17:47 -0500)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 16 Nov 2008 08:01:32 +0000
(09:01 +0100)
Make sure tracepoints can be called within ftrace callbacks.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/tracepoint.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/tracepoint.h
b/include/linux/tracepoint.h
index 63064e9403f2240b84a0f98e002b8575adafb9bf..69648c54a326059429e84624e10c485082684508 100644
(file)
--- 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)
/*