]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/srcutree.h
Merge tag 'm68k-for-v5.3-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert...
[linux.git] / include / linux / srcutree.h
index 8af1824c46a8a9727d9e3ea94c11c41729684964..9cfcc8a756ae3eddb54b84281113c9be5a69eef5 100644 (file)
@@ -123,7 +123,7 @@ struct srcu_struct {
 #ifdef MODULE
 # define __DEFINE_SRCU(name, is_static)                                        \
        is_static struct srcu_struct name;                              \
-       struct srcu_struct *__srcu_struct_##name                        \
+       struct srcu_struct * const __srcu_struct_##name                 \
                __section("___srcu_struct_ptrs") = &name
 #else
 # define __DEFINE_SRCU(name, is_static)                                        \