summaryrefslogtreecommitdiffstats
path: root/kernel/kexec_file.c
diff options
context:
space:
mode:
authorXunlei Pang <xlpang@redhat.com>2016-01-20 15:00:31 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-20 17:09:18 -0800
commitcdf4b3fa03bab157d2d70d4de65bb7ae319b084f (patch)
tree3edd3c725d3d7ad46214529574d72e8623538dd6 /kernel/kexec_file.c
parent9425676a363c0976e3d43dda792dc4711a651d1d (diff)
downloadlinux-cdf4b3fa03bab157d2d70d4de65bb7ae319b084f.tar.gz
linux-cdf4b3fa03bab157d2d70d4de65bb7ae319b084f.tar.bz2
linux-cdf4b3fa03bab157d2d70d4de65bb7ae319b084f.zip
kexec: set KEXEC_TYPE_CRASH before sanity_check_segment_list()
sanity_check_segment_list() checks KEXEC_TYPE_CRASH flag to ensure all the segments of the loaded crash kernel are within the kernel crash resource limits, so set the flag beforehand. Signed-off-by: Xunlei Pang <xlpang@redhat.com> Acked-by: Dave Young <dyoung@redhat.com> Cc: Eric Biederman <ebiederm@xmission.com> Cc: Vivek Goyal <vgoyal@redhat.com> Acked-by: Baoquan He <bhe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kexec_file.c')
0 files changed, 0 insertions, 0 deletions