mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 18:29:47 -05:00
tracepoint: Add __rcu annotation
Add __rcu annotation to : (struct tracepoint)->funcs Acked-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Lai Jiangshan <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
This commit is contained in:
parent
881fe4bdcd
commit
bd1c8b22b7
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ struct tracepoint {
|
|||
int state; /* State. */
|
||||
void (*regfunc)(void);
|
||||
void (*unregfunc)(void);
|
||||
struct tracepoint_func *funcs;
|
||||
struct tracepoint_func __rcu *funcs;
|
||||
} __attribute__((aligned(32))); /*
|
||||
* Aligned on 32 bytes because it is
|
||||
* globally visible and gcc happily
|
||||
|
|
|
|||
Loading…
Reference in a new issue