aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r--kernel/rcu/tree.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index f52bc059bfec..8077aff7ab40 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -380,16 +380,20 @@ struct rcu_state {
380#define RCU_GP_IDLE 0 /* Initial state and no GP in progress. */ 380#define RCU_GP_IDLE 0 /* Initial state and no GP in progress. */
381#define RCU_GP_WAIT_GPS 1 /* Wait for grace-period start. */ 381#define RCU_GP_WAIT_GPS 1 /* Wait for grace-period start. */
382#define RCU_GP_DONE_GPS 2 /* Wait done for grace-period start. */ 382#define RCU_GP_DONE_GPS 2 /* Wait done for grace-period start. */
383#define RCU_GP_WAIT_FQS 3 /* Wait for force-quiescent-state time. */ 383#define RCU_GP_ONOFF 3 /* Grace-period initialization hotplug. */
384#define RCU_GP_DOING_FQS 4 /* Wait done for force-quiescent-state time. */ 384#define RCU_GP_INIT 4 /* Grace-period initialization. */
385#define RCU_GP_CLEANUP 5 /* Grace-period cleanup started. */ 385#define RCU_GP_WAIT_FQS 5 /* Wait for force-quiescent-state time. */
386#define RCU_GP_CLEANED 6 /* Grace-period cleanup complete. */ 386#define RCU_GP_DOING_FQS 6 /* Wait done for force-quiescent-state time. */
387#define RCU_GP_CLEANUP 7 /* Grace-period cleanup started. */
388#define RCU_GP_CLEANED 8 /* Grace-period cleanup complete. */
387 389
388#ifndef RCU_TREE_NONCORE 390#ifndef RCU_TREE_NONCORE
389static const char * const gp_state_names[] = { 391static const char * const gp_state_names[] = {
390 "RCU_GP_IDLE", 392 "RCU_GP_IDLE",
391 "RCU_GP_WAIT_GPS", 393 "RCU_GP_WAIT_GPS",
392 "RCU_GP_DONE_GPS", 394 "RCU_GP_DONE_GPS",
395 "RCU_GP_ONOFF",
396 "RCU_GP_INIT",
393 "RCU_GP_WAIT_FQS", 397 "RCU_GP_WAIT_FQS",
394 "RCU_GP_DOING_FQS", 398 "RCU_GP_DOING_FQS",
395 "RCU_GP_CLEANUP", 399 "RCU_GP_CLEANUP",