diff options
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 1fdcde96eb65..e9ee9ad0a681 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -36,6 +36,7 @@ extern int rtnl_is_locked(void); | |||
36 | 36 | ||
37 | extern wait_queue_head_t netdev_unregistering_wq; | 37 | extern wait_queue_head_t netdev_unregistering_wq; |
38 | extern struct mutex net_mutex; | 38 | extern struct mutex net_mutex; |
39 | extern struct rw_semaphore net_sem; | ||
39 | 40 | ||
40 | #ifdef CONFIG_PROVE_LOCKING | 41 | #ifdef CONFIG_PROVE_LOCKING |
41 | extern bool lockdep_rtnl_is_held(void); | 42 | extern bool lockdep_rtnl_is_held(void); |