rcu: Add const annotation to char * for RCU tracepoints and functions
[platform/adaptation/renesas_rcar/renesas_kernel.git] / kernel / rcu.h
index 7f8e759..0a90ccc 100644 (file)
@@ -94,7 +94,7 @@ static inline void debug_rcu_head_unqueue(struct rcu_head *head)
 
 extern void kfree(const void *);
 
-static inline bool __rcu_reclaim(char *rn, struct rcu_head *head)
+static inline bool __rcu_reclaim(const char *rn, struct rcu_head *head)
 {
        unsigned long offset = (unsigned long)head->func;