genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 24 Jul 2012 05:44:01 +0000 (13:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2012 07:01:30 +0000 (00:01 -0700)
commit320f5ea0cedc08ef65d67e056bcb9d181386ef2c
tree5845fb51d8cdd01729bba4e757e38a801386a4fb
parent17bcb684f08649a2ab6a7dcd8288332e72d208f1
genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP

lockdep_is_held() is defined when CONFIG_LOCKDEP, not CONFIG_PROVE_LOCKING.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jesse Gross <jesse@nicira.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/genetlink.h
net/netlink/genetlink.c