Skip to content

Commit c34d2f4

Browse files
committed
rcu: Correct comment for values of ->gp_state field
This commit corrects the comment for the values of the ->gp_state field, which previously incorrectly said that these were for the ->gp_flags field. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1 parent 77f81fe commit c34d2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ struct rcu_state {
529529
#define RCU_GP_FLAG_INIT 0x1 /* Need grace-period initialization. */
530530
#define RCU_GP_FLAG_FQS 0x2 /* Need grace-period quiescent-state forcing. */
531531

532-
/* Values for rcu_state structure's gp_flags field. */
532+
/* Values for rcu_state structure's gp_state field. */
533533
#define RCU_GP_IDLE 0 /* Initial state and no GP in progress. */
534534
#define RCU_GP_WAIT_GPS 1 /* Wait for grace-period start. */
535535
#define RCU_GP_DONE_GPS 2 /* Wait done for grace-period start. */

0 commit comments

Comments
 (0)