genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
[platform/adaptation/renesas_rcar/renesas_kernel.git] / net / netlink / genetlink.c
index 62ebe3c..fda4974 100644 (file)
@@ -33,7 +33,7 @@ void genl_unlock(void)
 }
 EXPORT_SYMBOL(genl_unlock);
 
-#ifdef CONFIG_PROVE_LOCKING
+#ifdef CONFIG_LOCKDEP
 int lockdep_genl_is_held(void)
 {
        return lockdep_is_held(&genl_mutex);