diff options
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/pmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index 3cc21933063b..c0fdc217ece5 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -681,7 +681,7 @@ static void __init pmb_merge(struct pmb_entry *head) | |||
681 | /* | 681 | /* |
682 | * The merged page size must be valid. | 682 | * The merged page size must be valid. |
683 | */ | 683 | */ |
684 | if (!pmb_size_valid(newsize)) | 684 | if (!depth || !pmb_size_valid(newsize)) |
685 | return; | 685 | return; |
686 | 686 | ||
687 | head->flags &= ~PMB_SZ_MASK; | 687 | head->flags &= ~PMB_SZ_MASK; |