linux-stable-rt/kernel/irq
Kenji Kaneshige 25c9170ed6 genirq: Fix incorrect proc spurious output
Since commit a1afb637(switch /proc/irq/*/spurious to seq_file) all
/proc/irq/XX/spurious files show the information of irq 0.

Current irq_spurious_proc_open() passes on NULL as the 3rd argument,
which is used as an IRQ number in irq_spurious_proc_show(), to the
single_open(). Because of this, all the /proc/irq/XX/spurious file
shows IRQ 0 information regardless of the IRQ number.

To fix the problem, irq_spurious_proc_open() must pass on the
appropreate data (IRQ number) to single_open().

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reviewed-by: Yong Zhang <yong.zhang0@gmail.com>
LKML-Reference: <4CF4B778.90604@jp.fujitsu.com>
Cc: stable@kernel.org [2.6.33+]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2010-12-01 08:44:26 +01:00
..
Kconfig genirq: Remove the now unused sparse irq leftovers 2010-10-12 16:53:44 +02:00
Makefile genirq: Remove the now unused sparse irq leftovers 2010-10-12 16:53:44 +02:00
autoprobe.c genirq: Provide compat handling for chip->set_type() 2010-10-04 12:43:47 +02:00
chip.c genirq: Sanitize dynamic irq handling 2010-10-12 16:53:44 +02:00
devres.c
dummychip.c genirq: Fix CONFIG_GENIRQ_NO_DEPRECATED=y build 2010-10-12 21:59:55 +02:00
handle.c genirq: Distangle kernel/irq/handle.c 2010-10-12 16:39:05 +02:00
internals.h genirq: Remove the now unused sparse irq leftovers 2010-10-12 16:53:44 +02:00
irqdesc.c /proc/stat: fix scalability of irq sum of all cpu 2010-10-27 18:03:13 -07:00
manage.c genirq: Warn if enable_irq is called before irq is set up 2010-10-22 16:10:29 +02:00
migration.c genirq: Provide compat handling for chip->set_affinity() 2010-10-04 12:43:46 +02:00
pm.c
proc.c genirq: Fix incorrect proc spurious output 2010-12-01 08:44:26 +01:00
resend.c genirq: Provide compat handling for chip->retrigger() 2010-10-04 12:43:50 +02:00
spurious.c genirq: Provide config option to disable deprecated code 2010-10-04 13:40:24 +02:00