diff options
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r-- | kernel/rcutree.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h index 67341dbebd95..37502a27a072 100644 --- a/kernel/rcutree.h +++ b/kernel/rcutree.h | |||
@@ -93,8 +93,9 @@ struct rcu_dynticks { | |||
93 | #define RCU_KTHREAD_STOPPED 0 | 93 | #define RCU_KTHREAD_STOPPED 0 |
94 | #define RCU_KTHREAD_RUNNING 1 | 94 | #define RCU_KTHREAD_RUNNING 1 |
95 | #define RCU_KTHREAD_WAITING 2 | 95 | #define RCU_KTHREAD_WAITING 2 |
96 | #define RCU_KTHREAD_YIELDING 3 | 96 | #define RCU_KTHREAD_OFFCPU 3 |
97 | #define RCU_KTHREAD_MAX 3 | 97 | #define RCU_KTHREAD_YIELDING 4 |
98 | #define RCU_KTHREAD_MAX 4 | ||
98 | 99 | ||
99 | /* | 100 | /* |
100 | * Definition for node within the RCU grace-period-detection hierarchy. | 101 | * Definition for node within the RCU grace-period-detection hierarchy. |
@@ -383,6 +384,8 @@ struct rcu_state { | |||
383 | /* but in jiffies. */ | 384 | /* but in jiffies. */ |
384 | unsigned long jiffies_stall; /* Time at which to check */ | 385 | unsigned long jiffies_stall; /* Time at which to check */ |
385 | /* for CPU stalls. */ | 386 | /* for CPU stalls. */ |
387 | unsigned long gp_max; /* Maximum GP duration in */ | ||
388 | /* jiffies. */ | ||
386 | char *name; /* Name of structure. */ | 389 | char *name; /* Name of structure. */ |
387 | }; | 390 | }; |
388 | 391 | ||