x86: Factor duplicated code out of __show_regs() into show_regs_common()
authorAndy Isaacson <adi@hexapodia.org>
Tue, 8 Dec 2009 08:29:42 +0000 (00:29 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Dec 2009 09:17:58 +0000 (10:17 +0100)
commit814e2c84a722c45650a9b8f52285d7ba6874f63b
treeed7ef55b98c0b87e5fa714ca2d138f4469cc9ea3
parentf58e1f53de52a70391b6478617311207c7203363
x86: Factor duplicated code out of __show_regs() into show_regs_common()

Unify x86_32 and x86_64 implementations of __show_regs() header,
standardizing on the x86_64 format string in the process. Also,
32-bit will now call print_modules.

Signed-off-by: Andy Isaacson <adi@hexapodia.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Robert Hancock <hancockrwd@gmail.com>
Cc: Richard Zidlicky <rz@linux-m68k.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20091208082942.GA27174@hexapodia.org>
[ v2: resolved conflict ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/system.h
arch/x86/kernel/process.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c