mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[S390] kdump: Add KEXEC_CRASH_CONTROL_MEMORY_LIMIT
On s390 there is a different KEXEC_CONTROL_MEMORY_LIMIT for the normal and the kdump kexec case. Therefore this patch introduces a new macro KEXEC_CRASH_CONTROL_MEMORY_LIMIT. This is set to KEXEC_CONTROL_MEMORY_LIMIT for all architectures that do not define KEXEC_CRASH_CONTROL_MEMORY_LIMIT. Acked-by: Vivek Goyal <[email protected]> Acked-by: Andrew Morton <[email protected]> Signed-off-by: Michael Holzheu <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
80853a8ab4
commit
3d214faea6
2 changed files with 5 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ static struct page *kimage_alloc_crash_control_pages(struct kimage *image,
|
|||
while (hole_end <= crashk_res.end) {
|
||||
unsigned long i;
|
||||
|
||||
if (hole_end > KEXEC_CONTROL_MEMORY_LIMIT)
|
||||
if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT)
|
||||
break;
|
||||
if (hole_end > crashk_res.end)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue