genirq: Move irq_set_lockdep_class() to core
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:25:39 +0000 (20:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:30 +0000 (16:19 +0100)
commitf1c6306c0d6b50844ba02c8a53e35405e9c0db05
treebfc1a58eafe6bd3d2d32d501f8d5eee94bee8a2b
parentfdd029630434b434b127efc7fba337da28f45658
genirq: Move irq_set_lockdep_class() to core

irq_set_lockdep_class() is used from modules and requires irq_to_desc() to
be exported. Move it into the core code which lifts another requirement for
the export.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201210194042.860029489@linutronix.de
include/linux/irqdesc.h
kernel/irq/irqdesc.c