diff options
author | Kenji Kaneshige <[email protected]> | 2010-11-30 17:36:08 +0900 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2010-12-01 08:44:26 +0100 |
commit | 25c9170ed64a6551beefe9315882f754e14486f4 (patch) | |
tree | 655035a70de19a8d88cbd04264bfaebc1af92a5a /tools/perf/util/trace-event-scripting.c | |
parent | 22a5b566c8c442b0b35b3b106795e2f2b3578096 (diff) |
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 <[email protected]>
Reviewed-by: Yong Zhang <[email protected]>
LKML-Reference: <[email protected]>
Cc: [email protected] [2.6.33+]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions