From: Matt Fleming Date: Tue, 6 Oct 2009 21:22:23 +0000 (+0000) Subject: sh: Allocate PMB entry slot earlier X-Git-Tag: v2.6.33-rc1~347^2~27^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=067784f6239e08a084b4d8d597e14435331eae51;p=pandora-kernel.git 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed