x86/dumpstack: Save first regs set for the executive summary
authorBorislav Petkov <bp@suse.de>
Tue, 17 Apr 2018 16:11:23 +0000 (18:11 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 26 Apr 2018 14:15:28 +0000 (16:15 +0200)
commit602bd705da334f214fc03db328dc37d2f1f33307
tree7c0a3b71e9c7291a024f1358db99c5d5083ba81d
parent7cccf0725cf7402514e09c52b089430005798b7f
x86/dumpstack: Save first regs set for the executive summary

Save the regs set when __die() is onvoked for the first time and print it
in oops_end().

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: https://lkml.kernel.org/r/20180417161124.5294-9-bp@alien8.de
arch/x86/kernel/dumpstack.c