diff --git a/include/linux/module.h b/include/linux/module.h index bd165ba68617572d7496537ed7c04c94d3ad952e..dfdc8863e26aa1c869789ead3588e4a3afacb42f 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -429,7 +429,7 @@ struct module { #ifdef CONFIG_KALLSYMS /* Protected by RCU and/or module_mutex: use rcu_dereference() */ - struct mod_kallsyms *kallsyms; + struct mod_kallsyms __rcu *kallsyms; struct mod_kallsyms core_kallsyms; /* Section attributes */