diff options
author | Yinghai Lu <yinghai@kernel.org> | 2011-05-26 01:09:40 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-05-26 07:15:28 -0400 |
commit | def945eeb920b94e710574454043f080831aefe5 (patch) | |
tree | 3ab084b62973e172b98ab731b80b19666eac30e7 | |
parent | 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5 (diff) |
irq: Remove smp_affinity_list when unregister irq proc
commit 4b06042(bitmap, irq: add smp_affinity_list interface to
/proc/irq) causes the following warning:
[ 274.239500] WARNING: at fs/proc/generic.c:850 remove_proc_entry+0x24c/0x27a()
[ 274.251761] remove_proc_entry: removing non-empty directory 'irq/184',
leaking at least 'smp_affinity_list'
Remove the new file in the exit path.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Mike Travis <travis@sgi.com>
Link: http://lkml.kernel.org/r/4DDDE094.6050505@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/irq/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c index 64e3df6ab1ef..4bd4faa6323a 100644 --- a/kernel/irq/proc.c +++ b/kernel/irq/proc.c | |||
@@ -352,6 +352,7 @@ void unregister_irq_proc(unsigned int irq, struct irq_desc *desc) | |||
352 | #ifdef CONFIG_SMP | 352 | #ifdef CONFIG_SMP |
353 | remove_proc_entry("smp_affinity", desc->dir); | 353 | remove_proc_entry("smp_affinity", desc->dir); |
354 | remove_proc_entry("affinity_hint", desc->dir); | 354 | remove_proc_entry("affinity_hint", desc->dir); |
355 | remove_proc_entry("smp_affinity_list", desc->dir); | ||
355 | remove_proc_entry("node", desc->dir); | 356 | remove_proc_entry("node", desc->dir); |
356 | #endif | 357 | #endif |
357 | remove_proc_entry("spurious", desc->dir); | 358 | remove_proc_entry("spurious", desc->dir); |