• Frederic Weisbecker's avatar
    cpu/hotplug: Add lockdep_is_cpus_held() · 43759fe5
    Frederic Weisbecker authored
    This commit adds a lockdep_is_cpus_held() function to verify that the
    proper locks are held and that various operations are running in the
    correct context.
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Cc: Paul E. McKenney <paulmck@kernel.org>
    Cc: Josh Triplett <josh@joshtriplett.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Lai Jiangshan <jiangshanlai@gmail.com>
    Cc: Joel Fernandes <joel@joelfernandes.org>
    Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Boqun Feng <boqun.feng@gmail.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    43759fe5
cpu.c 61.2 KB