Browse Source

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

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Mike Frysinger 16 years ago
parent
commit
05a717fbc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/blackfin/kernel/cplb-nompu/cplbinit.c

+ 1 - 1
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. */