[PARISC] Refactor show_regs in traps.c
authorKyle McMartin <kyle@parisc-linux.org>
Wed, 21 Jun 2006 16:49:38 +0000 (16:49 +0000)
committerKyle McMartin <kyle@hera.kernel.org>
Tue, 27 Jun 2006 23:28:44 +0000 (23:28 +0000)
commit1c63b4b8474700f3fb5e3442a78897766f153437
tree90a32c95e88a3efce329e62e923fa4b989608b9d
parent67a061a191017f984a1ef0ff73ae988b9b15f6d3
[PARISC] Refactor show_regs in traps.c

show_regs() was one bloaty function. Split it into a few cleaner
functions and define a clean macro to print a line of registers.

[And from Thibaut, only print fprs on a usermode trap.]

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/traps.c