diff options
Diffstat (limited to 'include/linux/rhashtable.h')
-rw-r--r-- | include/linux/rhashtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h index 4192682c1d5c..a0abddd226b3 100644 --- a/include/linux/rhashtable.h +++ b/include/linux/rhashtable.h | |||
@@ -54,6 +54,7 @@ struct rhash_head { | |||
54 | * @locks_mask: Mask to apply before accessing locks[] | 54 | * @locks_mask: Mask to apply before accessing locks[] |
55 | * @locks: Array of spinlocks protecting individual buckets | 55 | * @locks: Array of spinlocks protecting individual buckets |
56 | * @walkers: List of active walkers | 56 | * @walkers: List of active walkers |
57 | * @rcu: RCU structure for freeing the table | ||
57 | * @buckets: size * hash buckets | 58 | * @buckets: size * hash buckets |
58 | */ | 59 | */ |
59 | struct bucket_table { | 60 | struct bucket_table { |
@@ -63,6 +64,7 @@ struct bucket_table { | |||
63 | unsigned int locks_mask; | 64 | unsigned int locks_mask; |
64 | spinlock_t *locks; | 65 | spinlock_t *locks; |
65 | struct list_head walkers; | 66 | struct list_head walkers; |
67 | struct rcu_head rcu; | ||
66 | 68 | ||
67 | struct rhash_head __rcu *buckets[] ____cacheline_aligned_in_smp; | 69 | struct rhash_head __rcu *buckets[] ____cacheline_aligned_in_smp; |
68 | }; | 70 | }; |