diff options
Diffstat (limited to 'include/linux/ftrace.h')
| -rw-r--r-- | include/linux/ftrace.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 5857390ac35a..6383115e9d2c 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -145,8 +145,8 @@ enum {  #ifdef CONFIG_DYNAMIC_FTRACE  /* The hash used to know what functions callbacks trace */  struct ftrace_ops_hash { -	struct ftrace_hash		*notrace_hash; -	struct ftrace_hash		*filter_hash; +	struct ftrace_hash __rcu	*notrace_hash; +	struct ftrace_hash __rcu	*filter_hash;  	struct mutex			regex_lock;  }; @@ -168,7 +168,7 @@ static inline void ftrace_free_init_mem(void) { }   */  struct ftrace_ops {  	ftrace_func_t			func; -	struct ftrace_ops		*next; +	struct ftrace_ops __rcu		*next;  	unsigned long			flags;  	void				*private;  	ftrace_func_t			saved_func;  | 
