diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-11-18 04:48:22 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-11-18 04:48:22 -0500 |
commit | 05a717fbc893c777165b00821b9dcde968a95bcc (patch) | |
tree | a1f616b75aca1d9bf9e850f66f189f23c71c6ac2 | |
parent | 383163826012d70da070bedd432a74bb8d915315 (diff) |
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>
-rw-r--r-- | arch/blackfin/kernel/cplb-nompu/cplbinit.c | 2 |
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 b0d6084de359..afef5c740aa4 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[] = { | |||
163 | 163 | ||
164 | static bool __init lock_kernel_check(u32 start, u32 end) | 164 | static bool __init lock_kernel_check(u32 start, u32 end) |
165 | { | 165 | { |
166 | if (start >= (u32)_end || end <= (u32)_stext) | 166 | if (start >= (u32)__init_begin || end <= (u32)_stext) |
167 | return false; | 167 | return false; |
168 | 168 | ||
169 | /* This cplb block overlapped with kernel area. */ | 169 | /* This cplb block overlapped with kernel area. */ |