diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/pmb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index 58f935896b4..aade3110211 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -269,6 +269,13 @@ again: | |||
269 | pmbp->link = pmbe; | 269 | pmbp->link = pmbe; |
270 | 270 | ||
271 | pmbp = pmbe; | 271 | pmbp = pmbe; |
272 | |||
273 | /* | ||
274 | * Instead of trying smaller sizes on every iteration | ||
275 | * (even if we succeed in allocating space), try using | ||
276 | * pmb_sizes[i].size again. | ||
277 | */ | ||
278 | i--; | ||
272 | } | 279 | } |
273 | 280 | ||
274 | if (size >= 0x1000000) | 281 | if (size >= 0x1000000) |