lockdep: move held_lock to lockdep_types.h
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Dec 2023 21:58:51 +0000 (16:58 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 21 Dec 2023 00:26:32 +0000 (19:26 -0500)
commit99bac36667b6b20b9b0a20dc976365d23f90628b
tree91157a7ec2897d411b3111de7e429437f7b8865c
parente034d49eb01c7c83a08a3ce2a1091b55f806b26b
lockdep: move held_lock to lockdep_types.h

held_lock is embedded in task_struct, and we don't want sched.h pulling
in all of lockdep.h

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Acked-by: Waiman Long <longman@redhat.com>
include/linux/lockdep.h
include/linux/lockdep_types.h