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
This commit is contained in:
Thomas Gleixner 2020-12-10 20:25:39 +01:00
commit f1c6306c0d
2 changed files with 18 additions and 6 deletions