Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119133
b: refs/heads/master
c: 6776cf4
h: refs/heads/master
i:
  119131: 438a834
v: v3
  • Loading branch information
Graf Yang authored and Bryan Wu committed Oct 27, 2008
1 parent 4b2ce93 commit e61b819
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a0bfff44e4aa4ee1721b3daa004d2039576c70d
refs/heads/master: 6776cf4476833df0f1e96bd9dba18c1ea4f582d5
9 changes: 5 additions & 4 deletions trunk/arch/blackfin/kernel/cplb-nompu/cplbinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,11 @@ static struct cplb_desc cplb_data[] = {

static u16 __init lock_kernel_check(u32 start, u32 end)
{
if ((end <= (u32) _end && end >= (u32)_stext) ||
(start <= (u32) _end && start >= (u32)_stext))
return IN_KERNEL;
return 0;
if (start >= (u32)_end || end <= (u32)_stext)
return 0;

/* This cplb block overlapped with kernel area. */
return IN_KERNEL;
}

static unsigned short __init
Expand Down

0 comments on commit e61b819

Please sign in to comment.