genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / genetlink.h
index 7a11401..5ab61c1 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