x86: smarten /proc/interrupts output
authorJan Beulich <jbeulich@novell.com>
Thu, 12 Mar 2009 12:45:15 +0000 (12:45 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 01:36:52 +0000 (02:36 +0100)
commit7a81d9a7da03d2f27840d659f97ef140d032f609
tree02ccb690196a4b3f3dd7f4f5c7cae15ad32ece29
parent1f442d70c84aa798e243e721eba728a98434cd86
x86: smarten /proc/interrupts output

Impact: change /proc/interrupts output ABI

With the number of interrupts on large systems growing, assumptions on
the width an interrupt number requires when converted to a decimal
string turn invalid. Therefore, calculate the maximum number of digits
dynamically.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <49B911EB.76E4.0078.0@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq.c