Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kexec: loongarch: fix load command line segment error
When kernel cmdline reserved multiple crash kernel segments, like: "crashkernel=4G,high crashkernel=256M,low". Cmdline segment may be loaded in locations larger than 4G of memory. So the parameter 'buf_max' of add_buffer function should be 'hole_max'. Signed-off-by: Hongchen Zhang <zhanghongchen@loongson.cn> Signed-off-by: Ming Wang <wangming01@loongson.cn> Signed-off-by: Simon Horman <horms@kernel.org>
- Loading branch information