]> Pileus Git - ~andy/linux/blobdiff - include/linux/tracepoint.h
tracepoint: Add __rcu annotation
[~andy/linux] / include / linux / tracepoint.h
index 899103c8f6f297e11dca1357e4a0e1a5482abdfc..c6814616653b1ff4d385b8b4148c4b2b14847e31 100644 (file)
@@ -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