Commit 4c480319 authored by Ma Wupeng's avatar Ma Wupeng Committed by Yang Yingliang
Browse files

efi: Stub mirrored_kernelcore if CONFIG_HAVE_MEMBLOCK_NODE_MAP is not enabled

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4SK3S


CVE: NA

------------------------------------------

Stub mirrored_kernelcore if CONFIG_HAVE_MEMBLOCK_NODE_MAP is not enabled.
If CONFIG_HAVE_MEMBLOCK_NODE_MAP is disabled, mirrored_kernelcore in
efi_find_mirror() will be undeclared and this will lead to compile problem.

Fixes: d7421c3f ("efi: Disable mirror feature if kernelcore is not spcified")
Signed-off-by: default avatarMa Wupeng <mawupeng1@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 0ea87441
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment