Re: [patch 03/30] genirq: Move irq_set_lockdep_class() to core

From: Thomas Gleixner
Date: Fri Dec 11 2020 - 16:10:07 EST


On Fri, Dec 11 2020 at 19:53, Andy Shevchenko wrote:

> On Thu, Dec 10, 2020 at 10:14 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>>
>> 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.
>
> ...
>
>> + if (IS_ENABLED(CONFIG_LOCKDEP))
>> + __irq_set_lockdep_class(irq, lock_class, request_class);

You are right. Let me fix that.