]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3953ef407cd8bbcf6b575761fa6c88ab1b70bbc7
tree02ccb690196a4b3f3dd7f4f5c7cae15ad32ece29
parent282aff906811cf29499aea129c5a3e0d5a639cbd
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