]> git.karo-electronics.de Git - mv-sheeva.git/commit
sh: Fix up PUD trampling in ranged page table init for X2TLB.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 21 Jun 2010 07:26:27 +0000 (16:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 21 Jun 2010 07:26:27 +0000 (16:26 +0900)
commit598ee698d9db7beb06e12f4ea9d9a5fbc03a3a77
tree07faddc4b00f302c0a87946b8e0aa0fbaf2ea10e
parent7210ed74a1ab9ce148a66798fbeec88d27f42070
sh: Fix up PUD trampling in ranged page table init for X2TLB.

page_table_range_init() presently allocates a PUD page for the 3-level
page table case on X2 TLB configurations on each successive call. This
results in the previous PUD page being trampled when PMDs with an
overlapping PUD are initialized. This case was triggered by putting
persistent kmaps immediately below the fixmap range for highmem.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/init.c