aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/fiq.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-15 09:33:51 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 10:07:32 -0500
commitf13cd4170ee789f63b3c9585c1ae34e028bd549d (patch)
tree5304bd2cec241d635a13f3d588e80bbc17997d5b /arch/arm/kernel/fiq.c
parentcab8c6f3053c1b147bba825844c8e208f8b3b9f4 (diff)
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.c5
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 = {
67 67
68static struct fiq_handler *current_fiq = &default_owner; 68static struct fiq_handler *current_fiq = &default_owner;
69 69
70int show_fiq_list(struct seq_file *p, void *v) 70int show_fiq_list(struct seq_file *p, int prec)
71{ 71{
72 if (current_fiq != &default_owner) 72 if (current_fiq != &default_owner)
73 seq_printf(p, "FIQ: %s\n", current_fiq->name); 73 seq_printf(p, "%*s: %s\n", prec, "FIQ",
74 current_fiq->name);
74 75
75 return 0; 76 return 0;
76} 77}