projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: Do not try merging two 128MB PMB mappings
[cascardo/linux.git]
/
arch
/
sh
/
mm
/
pmb.c
diff --git
a/arch/sh/mm/pmb.c
b/arch/sh/mm/pmb.c
index
3cc2193
..
c0fdc21
100644
(file)
--- 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)
/*
* The merged page size must be valid.
*/
- if (!pmb_size_valid(newsize))
+ if (!
depth || !
pmb_size_valid(newsize))
return;
head->flags &= ~PMB_SZ_MASK;