diff options
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 1e2264b46e4c..ae1d5be7dd88 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -501,6 +501,8 @@ static int kdump_mem_notifier(struct notifier_block *nb, | |||
501 | { | 501 | { |
502 | struct memory_notify *arg = data; | 502 | struct memory_notify *arg = data; |
503 | 503 | ||
504 | if (action != MEM_GOING_OFFLINE) | ||
505 | return NOTIFY_OK; | ||
504 | if (arg->start_pfn < PFN_DOWN(resource_size(&crashk_res))) | 506 | if (arg->start_pfn < PFN_DOWN(resource_size(&crashk_res))) |
505 | return NOTIFY_BAD; | 507 | return NOTIFY_BAD; |
506 | if (arg->start_pfn > PFN_DOWN(crashk_res.end)) | 508 | if (arg->start_pfn > PFN_DOWN(crashk_res.end)) |