genirq: Remove early_init_irq_lock_class()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 22 Sep 2010 13:58:45 +0000 (15:58 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:39:06 +0000 (16:39 +0200)
commit154cd387cdf0e5566ce523cbddf92dd2a062dfd6
tree8ab329f26992c570b65fe62843275eb71c8bf505
parent3795de236d67a05994a1a12759db9d4dd9ffc42c
genirq: Remove early_init_irq_lock_class()

early_init_irq_lock_class() is called way before anything touches the
irq descriptors. In case of SPARSE_IRQ=y this is a NOP operation
because the radix tree is empty at this point. For the SPARSE_IRQ=n
case it's sufficient to set the lock class in early_init_irq().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
include/linux/lockdep.h
init/main.c
kernel/irq/irqdesc.c