diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-10-06 23:22:23 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-10 14:49:57 +0200 |
commit | 067784f6239e08a084b4d8d597e14435331eae51 (patch) | |
tree | 0bfe60656a538d486df6bf79dc238cbf48b0ce04 /arch/sh/boot | |
parent | Merge branch 'sh/cachetlb' (diff) | |
download | linux-067784f6239e08a084b4d8d597e14435331eae51.tar.xz linux-067784f6239e08a084b4d8d597e14435331eae51.zip |
sh: Allocate PMB entry slot earlier
Simplify set_pmb_entry() by removing the possibility of not finding a
free slot in the PMB. Instead we now allocate a slot in pmb_alloc() so
that if there are no free slots we fail at allocation time, rather than
in set_pmb_entry().
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boot')
0 files changed, 0 insertions, 0 deletions