]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - kernel/rcu/tree.h
rcu: Move gp_state_names[] and gp_state_getname() to tree_stall.h
[mirror_ubuntu-jammy-kernel.git] / kernel / rcu / tree.h
index 54ff9896ae31d2e550136ccaf8df212cf5150410..9d5986abfc67adf7de9aa2503d49b7d64acaf924 100644 (file)
@@ -368,18 +368,6 @@ struct rcu_state {
 #define RCU_GP_CLEANUP   7     /* Grace-period cleanup started. */
 #define RCU_GP_CLEANED   8     /* Grace-period cleanup complete. */
 
-static const char * const gp_state_names[] = {
-       "RCU_GP_IDLE",
-       "RCU_GP_WAIT_GPS",
-       "RCU_GP_DONE_GPS",
-       "RCU_GP_ONOFF",
-       "RCU_GP_INIT",
-       "RCU_GP_WAIT_FQS",
-       "RCU_GP_DOING_FQS",
-       "RCU_GP_CLEANUP",
-       "RCU_GP_CLEANED",
-};
-
 /*
  * In order to export the rcu_state name to the tracing tools, it
  * needs to be added in the __tracepoint_string section.