提交 05a717fb 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

Blackfin arch: do not include init sections in the kernel lock down as it gets released afterwards

Signed-off-by: NMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 38316382
......@@ -163,7 +163,7 @@ static struct cplb_desc cplb_data[] = {
static bool __init lock_kernel_check(u32 start, u32 end)
{
if (start >= (u32)_end || end <= (u32)_stext)
if (start >= (u32)__init_begin || end <= (u32)_stext)
return false;
/* This cplb block overlapped with kernel area. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册