diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 0bef3ecb7a0e464e1c1966b9db6eff68cd34f197..e1cf4e391caee0a8fbeb4bc259a16cb203abc876 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -145,6 +145,7 @@ int __init early_irq_init(void) for (i = 0; i < legacy_count; i++) { desc[i].irq = i; desc[i].kstat_irqs = kstat_irqs_legacy[i]; + lockdep_set_class(&desc[i].lock, &irq_desc_lock_class); irq_desc_ptrs[i] = desc + i; }