diff options
Diffstat (limited to 'arch/ia64/kernel/crash.c')
-rw-r--r-- | arch/ia64/kernel/crash.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index 2018e624f5e2..9d92097ce96d 100644 --- a/arch/ia64/kernel/crash.c +++ b/arch/ia64/kernel/crash.c | |||
@@ -118,6 +118,11 @@ machine_crash_shutdown(struct pt_regs *pt) | |||
118 | static void | 118 | static void |
119 | machine_kdump_on_init(void) | 119 | machine_kdump_on_init(void) |
120 | { | 120 | { |
121 | if (!ia64_kimage) { | ||
122 | printk(KERN_NOTICE "machine_kdump_on_init(): " | ||
123 | "kdump not configured\n"); | ||
124 | return; | ||
125 | } | ||
121 | local_irq_disable(); | 126 | local_irq_disable(); |
122 | kexec_disable_iosapic(); | 127 | kexec_disable_iosapic(); |
123 | machine_kexec(ia64_kimage); | 128 | machine_kexec(ia64_kimage); |