]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: do not include init sections in the kernel lock down as it gets releas...
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/cplb-nompu/cplbinit.c

index b0d6084de359dfc7a9156130b3d7ebd9598d9e2e..afef5c740aa4c0ea2a3b54c9a0f92c330de62b96 100644 (file)
@@ -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. */