resctrl would like to use lockdep_is_cpus_held() as the lockdep
expression provided to list_for_each_entry_rcu() but Sashiko pointed out
that lockdep_is_cpus_held() is undefined when CONFIG_HOTPLUG_CPU is unset.
Patch 2 adds stubs for lockdep_is_cpus_held() and lockdep_is_cpus_write_held().
Patch 1 supports this work by adding include/linux/cpuhplock.h to the
MAINTAINERS CPU HOTPLUG area to help ensure patches touching it are routed
correctly.
Applies against tip/master.
Reinette Chatre (2):
MAINTAINERS: Add include/linux/cpuhplock.h to CPU HOTPLUG area
cpu: Add lockdep_is_cpus_held()/lockdep_is_cpus_write_held() stubs for
!CONFIG_HOTPLUG_CPU
MAINTAINERS | 1 +
include/linux/cpuhplock.h | 7 ++++---
2 files changed, 5 insertions(+), 3 deletions(-)
--
2.50.1