diff options
Diffstat (limited to 'kern/thread_i.h')
-rw-r--r-- | kern/thread_i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kern/thread_i.h b/kern/thread_i.h index 96ce100a..979d4b0f 100644 --- a/kern/thread_i.h +++ b/kern/thread_i.h @@ -24,6 +24,7 @@ #include <kern/atomic.h> #include <kern/cpumap.h> #include <kern/list_types.h> +#include <kern/rcu_types.h> #include <kern/spinlock_types.h> #include <kern/turnstile_types.h> #include <machine/cpu.h> @@ -137,6 +138,8 @@ struct thread { /* Read-side critical section level, not in any if 0 */ unsigned short llsync_level; /* (-) */ + struct rcu_reader rcu_reader; /* (-) */ + /* Processors on which this thread is allowed to run */ struct cpumap cpumap; /* (r) */ |