diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-06-18 11:40:04 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-20 14:33:48 +0200 |
commit | 0fa0e2f02e8edfbdb5f86d1cab0fa6dc0517489f (patch) | |
tree | 6d905fd6a52fb955ff12d14ec545f0d45a346aa9 /arch/x86/kernel/dumpstack.c | |
parent | 0d26d1d873a302828e064737746c53a2689e6c0f (diff) | |
download | linux-0fa0e2f02e8edfbdb5f86d1cab0fa6dc0517489f.tar.gz linux-0fa0e2f02e8edfbdb5f86d1cab0fa6dc0517489f.tar.bz2 linux-0fa0e2f02e8edfbdb5f86d1cab0fa6dc0517489f.zip |
x86: Move call to print_modules() out of show_regs()
Printing the list of loaded modules is really unrelated to what
this function is about, and is particularly unnecessary in the
context of the SysRQ key handling (gets printed so far over and
over).
It should really be the caller of the function to decide whether
this piece of information is useful (and to avoid redundantly
printing it).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/4FDF21A4020000780008A67F@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/dumpstack.c')
-rw-r--r-- | arch/x86/kernel/dumpstack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/dumpstack.c b/arch/x86/kernel/dumpstack.c index 87d3b5d663cd..ae42418bc50f 100644 --- a/arch/x86/kernel/dumpstack.c +++ b/arch/x86/kernel/dumpstack.c @@ -271,6 +271,7 @@ int __kprobes __die(const char *str, struct pt_regs *regs, long err) current->thread.trap_nr, SIGSEGV) == NOTIFY_STOP) return 1; + print_modules(); show_regs(regs); #ifdef CONFIG_X86_32 if (user_mode_vm(regs)) { |