aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/crash.c')
-rw-r--r--arch/ia64/kernel/crash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c
index f065093f8e9b..3f3a5797d198 100644
--- a/arch/ia64/kernel/crash.c
+++ b/arch/ia64/kernel/crash.c
@@ -129,10 +129,14 @@ void
129kdump_cpu_freeze(struct unw_frame_info *info, void *arg) 129kdump_cpu_freeze(struct unw_frame_info *info, void *arg)
130{ 130{
131 int cpuid; 131 int cpuid;
132
132 local_irq_disable(); 133 local_irq_disable();
133 cpuid = smp_processor_id(); 134 cpuid = smp_processor_id();
134 crash_save_this_cpu(); 135 crash_save_this_cpu();
135 current->thread.ksp = (__u64)info->sw - 16; 136 current->thread.ksp = (__u64)info->sw - 16;
137
138 ia64_set_psr_mc(); /* mask MCA/INIT and stop reentrance */
139
136 atomic_inc(&kdump_cpu_frozen); 140 atomic_inc(&kdump_cpu_frozen);
137 kdump_status[cpuid] = 1; 141 kdump_status[cpuid] = 1;
138 mb(); 142 mb();