Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130928
b: refs/heads/master
c: d04dfc4
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Feb 4, 2009
1 parent db2365f commit 9628f34
Show file tree
Hide file tree
Showing 2 changed files with 9 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: bf324cb81a2f7da357eba00b6b1ef1cf38c264b8
refs/heads/master: d04dfc4c0e6056350175edc36b900a69703e9467
12 changes: 8 additions & 4 deletions trunk/arch/blackfin/kernel/cplb-nompu/cplbmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,14 @@ MGR_ATTR static int icplb_miss(int cpu)
nr_icplb_supv_miss[cpu]++;

base = 0;
for (idx = 0; idx < icplb_nr_bounds; idx++) {
idx = 0;
do {
eaddr = icplb_bounds[idx].eaddr;
if (addr < eaddr)
break;
base = eaddr;
}
} while (++idx < icplb_nr_bounds);

if (unlikely(idx == icplb_nr_bounds))
return CPLB_NO_ADDR_MATCH;

Expand Down Expand Up @@ -208,12 +210,14 @@ MGR_ATTR static int dcplb_miss(int cpu)
nr_dcplb_supv_miss[cpu]++;

base = 0;
for (idx = 0; idx < dcplb_nr_bounds; idx++) {
idx = 0;
do {
eaddr = dcplb_bounds[idx].eaddr;
if (addr < eaddr)
break;
base = eaddr;
}
} while (++idx < dcplb_nr_bounds);

if (unlikely(idx == dcplb_nr_bounds))
return CPLB_NO_ADDR_MATCH;

Expand Down

0 comments on commit 9628f34

Please sign in to comment.