rcu: Add const annotation to char * for RCU tracepoints and functions
[firefly-linux-kernel-4.4.55.git] / kernel / rcutree.h
index b3832581043ceeff9c294669db5d26b58ba6a559..cbdeac6cea9ee4104d642490e27ae6cf9e983ecf 100644 (file)
@@ -445,7 +445,7 @@ struct rcu_state {
                                                /*  for CPU stalls. */
        unsigned long gp_max;                   /* Maximum GP duration in */
                                                /*  jiffies. */
-       char *name;                             /* Name of structure. */
+       const char *name;                       /* Name of structure. */
        char abbr;                              /* Abbreviated name. */
        struct list_head flavors;               /* List of RCU flavors. */
        struct irq_work wakeup_work;            /* Postponed wakeups */