genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
[deliverable/linux.git] / include / linux / genetlink.h
index 7a114016ac7de83cf44190ebadec99b12f924cf4..5ab61c1eb6bf2c5ab1234aaee230d61991eef535 100644 (file)
@@ -85,7 +85,7 @@ enum {
 /* All generic netlink requests are serialized by a global lock.  */
 extern void genl_lock(void);
 extern void genl_unlock(void);
-#ifdef CONFIG_PROVE_LOCKING
+#ifdef CONFIG_LOCKDEP
 extern int lockdep_genl_is_held(void);
 #endif
 
This page took 0.024772 seconds and 5 git commands to generate.