diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/rhashtable.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h index fb298e9d6d3a..473e26bdb91d 100644 --- a/include/linux/rhashtable.h +++ b/include/linux/rhashtable.h | |||
| @@ -65,7 +65,10 @@ struct rhashtable_params { | |||
| 65 | size_t new_size); | 65 | size_t new_size); |
| 66 | bool (*shrink_decision)(const struct rhashtable *ht, | 66 | bool (*shrink_decision)(const struct rhashtable *ht, |
| 67 | size_t new_size); | 67 | size_t new_size); |
| 68 | int (*mutex_is_held)(void); | 68 | #ifdef CONFIG_PROVE_LOCKING |
| 69 | int (*mutex_is_held)(void *parent); | ||
| 70 | void *parent; | ||
| 71 | #endif | ||
| 69 | }; | 72 | }; |
| 70 | 73 | ||
| 71 | /** | 74 | /** |
