diff options
Diffstat (limited to 'arch/ia64/kernel/crash.c')
-rw-r--r-- | arch/ia64/kernel/crash.c | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/arch/ia64/kernel/crash.c b/arch/ia64/kernel/crash.c index 2b01e5a1f3ce..e74e15a08892 100644 --- a/arch/ia64/kernel/crash.c +++ b/arch/ia64/kernel/crash.c | |||
@@ -174,32 +174,32 @@ kdump_init_notifier(struct notifier_block *self, unsigned long val, void *data) | |||
174 | return NOTIFY_DONE; | 174 | return NOTIFY_DONE; |
175 | 175 | ||
176 | switch (val) { | 176 | switch (val) { |
177 | case DIE_INIT_MONARCH_PROCESS: | 177 | case DIE_INIT_MONARCH_PROCESS: |
178 | if (kdump_on_init) { | 178 | if (kdump_on_init) { |
179 | atomic_set(&kdump_in_progress, 1); | 179 | atomic_set(&kdump_in_progress, 1); |
180 | *(nd->monarch_cpu) = -1; | 180 | *(nd->monarch_cpu) = -1; |
181 | } | 181 | } |
182 | break; | 182 | break; |
183 | case DIE_INIT_MONARCH_LEAVE: | 183 | case DIE_INIT_MONARCH_LEAVE: |
184 | if (kdump_on_init) | 184 | if (kdump_on_init) |
185 | machine_kdump_on_init(); | 185 | machine_kdump_on_init(); |
186 | break; | 186 | break; |
187 | case DIE_INIT_SLAVE_LEAVE: | 187 | case DIE_INIT_SLAVE_LEAVE: |
188 | if (atomic_read(&kdump_in_progress)) | 188 | if (atomic_read(&kdump_in_progress)) |
189 | unw_init_running(kdump_cpu_freeze, NULL); | 189 | unw_init_running(kdump_cpu_freeze, NULL); |
190 | break; | 190 | break; |
191 | case DIE_MCA_RENDZVOUS_LEAVE: | 191 | case DIE_MCA_RENDZVOUS_LEAVE: |
192 | if (atomic_read(&kdump_in_progress)) | 192 | if (atomic_read(&kdump_in_progress)) |
193 | unw_init_running(kdump_cpu_freeze, NULL); | 193 | unw_init_running(kdump_cpu_freeze, NULL); |
194 | break; | 194 | break; |
195 | case DIE_MCA_MONARCH_LEAVE: | 195 | case DIE_MCA_MONARCH_LEAVE: |
196 | /* die_register->signr indicate if MCA is recoverable */ | 196 | /* die_register->signr indicate if MCA is recoverable */ |
197 | if (kdump_on_fatal_mca && !args->signr) { | 197 | if (kdump_on_fatal_mca && !args->signr) { |
198 | atomic_set(&kdump_in_progress, 1); | 198 | atomic_set(&kdump_in_progress, 1); |
199 | *(nd->monarch_cpu) = -1; | 199 | *(nd->monarch_cpu) = -1; |
200 | machine_kdump_on_init(); | 200 | machine_kdump_on_init(); |
201 | } | 201 | } |
202 | break; | 202 | break; |
203 | } | 203 | } |
204 | return NOTIFY_DONE; | 204 | return NOTIFY_DONE; |
205 | } | 205 | } |