genirq: Prepare proc for real sparse irq support
authorThomas Gleixner <tglx@linutronix.de>
Thu, 30 Sep 2010 00:46:07 +0000 (02:46 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 14:39:07 +0000 (16:39 +0200)
commit13bfe99e09123ef5edb6acb81ba337d2db600b53
treef96f5be41c90e1ab437bb40a02a8f137deb9e3ab
parent1f5a5b87f78fade3ae48dfd55e8765d1d622ea4e
genirq: Prepare proc for real sparse irq support

/proc/irq never removes any entries, but when irq descriptors can be
freed for real this is necessary. Otherwise we'd reference a freed
descriptor in /proc/irq/N

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/internals.h
kernel/irq/irqdesc.c
kernel/irq/proc.c