diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-15 15:33:51 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-20 16:07:32 +0100 |
commit | f13cd4170ee789f63b3c9585c1ae34e028bd549d (patch) | |
tree | 5304bd2cec241d635a13f3d588e80bbc17997d5b /arch/arm/kernel/fiq.c | |
parent | ARM: SMP: move ipi_count into irq_stat structure (diff) | |
download | linux-f13cd4170ee789f63b3c9585c1ae34e028bd549d.tar.xz linux-f13cd4170ee789f63b3c9585c1ae34e028bd549d.zip |
ARM: fix /proc/interrupts formatting
As per x86, align the initial column according to how many IRQs we
have. Also, provide an english explaination for the 'LOC:' and
'IPI:' lines.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/fiq.c')
-rw-r--r-- | arch/arm/kernel/fiq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c index 6ff7919613d7..47837b85c07c 100644 --- a/arch/arm/kernel/fiq.c +++ b/arch/arm/kernel/fiq.c @@ -67,10 +67,11 @@ static struct fiq_handler default_owner = { static struct fiq_handler *current_fiq = &default_owner; -int show_fiq_list(struct seq_file *p, void *v) +int show_fiq_list(struct seq_file *p, int prec) { if (current_fiq != &default_owner) - seq_printf(p, "FIQ: %s\n", current_fiq->name); + seq_printf(p, "%*s: %s\n", prec, "FIQ", + current_fiq->name); return 0; } |