Skip to content

Commit

Permalink
Blackfin arch: do not include init sections in the kernel lock down a…
Browse files Browse the repository at this point in the history
…s it gets released afterwards

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Nov 18, 2008
1 parent 3831638 commit 05a717f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/cplb-nompu/cplbinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 05a717f

Please sign in to comment.