aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/cplb-nompu/cplbinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c
index b0d6084de35..afef5c740aa 100644
--- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c
+++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c
@@ -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. */