]> Git Repo - linux.git/commit
kexec: set KEXEC_TYPE_CRASH before sanity_check_segment_list()
authorXunlei Pang <[email protected]>
Wed, 20 Jan 2016 23:00:31 +0000 (15:00 -0800)
committerLinus Torvalds <[email protected]>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commitcdf4b3fa03bab157d2d70d4de65bb7ae319b084f
tree3edd3c725d3d7ad46214529574d72e8623538dd6
parent9425676a363c0976e3d43dda792dc4711a651d1d
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 <[email protected]>
Acked-by: Dave Young <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Vivek Goyal <[email protected]>
Acked-by: Baoquan He <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/kexec.c
This page took 0.051851 seconds and 4 git commands to generate.