]> Pileus Git - ~andy/linux/blobdiff - kernel/rcu.h
rcu: Add const annotation to char * for RCU tracepoints and functions
[~andy/linux] / kernel / rcu.h
index 7f8e7590e3e5d414141f3f778caaf58f8b0f6717..0a90ccc65bfb5b72883abf0eef5ff014549268e3 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;