diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2014-07-22 16:58:52 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-07-28 10:02:36 +0200 |
commit | e2213e04c1b1e44a09a9d05b79809b7e63c9217e (patch) | |
tree | 9b049b184a56d4f635caeaf85edf28df39459d90 /drivers/s390 | |
parent | dc295880c6752076f8b94ba3885d0bfff09e3e82 (diff) | |
download | linux-e2213e04c1b1e44a09a9d05b79809b7e63c9217e.tar.bz2 |
s390/irq: improve displayed interrupt order in /proc/interrupts
Rework the irqclass_main_desc and irqclass_sub_desc data structures which
are used to report detaild IRQ statistics in /proc/interrupts. When
called from the procfs ops, the entries in the structures are processed
one by one.
The index of an IRQ in the structures is identical to its definition in
the "enum interruption_class". To control and (re)order the displayed
sequence, introduce an irq member in each entry. This helps to display
related IRQs together without changing the assigned number in the
interruption_class enumeration. That means, adding and displaying new
IRQs are independent.
Finally, this new behavior improves to maintain a kernel ABI.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions