projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e920b5
)
x86, crash: Unify ifdef
author
Borislav Petkov
<bp@suse.de>
Wed, 12 Mar 2014 14:13:03 +0000
(15:13 +0100)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Thu, 13 Mar 2014 22:32:44 +0000
(15:32 -0700)
Merge two back-to-back CONFIG_X86_32 ifdefs into one.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link:
http://lkml.kernel.org/r/1394633584-5509-3-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/crash.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/crash.c
b/arch/x86/kernel/crash.c
index
a57902e
..
507de80
100644
(file)
--- a/
arch/x86/kernel/crash.c
+++ b/
arch/x86/kernel/crash.c
@@
-57,9
+57,7
@@
static void kdump_nmi_callback(int cpu, struct pt_regs *regs)
{
#ifdef CONFIG_X86_32
struct pt_regs fixed_regs;
-#endif
-#ifdef CONFIG_X86_32
if (!user_mode_vm(regs)) {
crash_fixup_ss_esp(&fixed_regs, regs);
regs = &fixed_regs;