Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167164
b: refs/heads/master
c: a2767cf
h: refs/heads/master
v: v3
  • Loading branch information
Matt Fleming authored and Paul Mundt committed Oct 9, 2009
1 parent 336b219 commit 50404a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2bea7ea7d57fd0022f4cd08ed3d4eb2d39a2920d
refs/heads/master: a2767cfb1d9d97c3f861743f1ad595a80b75ec99
7 changes: 7 additions & 0 deletions trunk/arch/sh/mm/pmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ long pmb_remap(unsigned long vaddr, unsigned long phys,
pmbp->link = pmbe;

pmbp = pmbe;

/*
* Instead of trying smaller sizes on every iteration
* (even if we succeed in allocating space), try using
* pmb_sizes[i].size again.
*/
i--;
}

if (size >= 0x1000000)
Expand Down

0 comments on commit 50404a2

Please sign in to comment.