diff options
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r-- | include/linux/rtnetlink.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index 39adaa9529eb..4be5048b1fbe 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
@@ -33,11 +33,11 @@ extern wait_queue_head_t netdev_unregistering_wq; | |||
33 | extern struct mutex net_mutex; | 33 | extern struct mutex net_mutex; |
34 | 34 | ||
35 | #ifdef CONFIG_PROVE_LOCKING | 35 | #ifdef CONFIG_PROVE_LOCKING |
36 | extern int lockdep_rtnl_is_held(void); | 36 | extern bool lockdep_rtnl_is_held(void); |
37 | #else | 37 | #else |
38 | static inline int lockdep_rtnl_is_held(void) | 38 | static inline bool lockdep_rtnl_is_held(void) |
39 | { | 39 | { |
40 | return 1; | 40 | return true; |
41 | } | 41 | } |
42 | #endif /* #ifdef CONFIG_PROVE_LOCKING */ | 42 | #endif /* #ifdef CONFIG_PROVE_LOCKING */ |
43 | 43 | ||