diff options
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 9590364fe8b5..d1c7c90e9cd4 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -737,6 +737,9 @@ extern void rtnl_lock(void); | |||
737 | extern void rtnl_unlock(void); | 737 | extern void rtnl_unlock(void); |
738 | extern int rtnl_trylock(void); | 738 | extern int rtnl_trylock(void); |
739 | extern int rtnl_is_locked(void); | 739 | extern int rtnl_is_locked(void); |
740 | #ifdef CONFIG_PROVE_LOCKING | ||
741 | extern int lockdep_rtnl_is_held(void); | ||
742 | #endif /* #ifdef CONFIG_PROVE_LOCKING */ | ||
740 | 743 | ||
741 | extern void rtnetlink_init(void); | 744 | extern void rtnetlink_init(void); |
742 | extern void __rtnl_unlock(void); | 745 | extern void __rtnl_unlock(void); |