]> git.karo-electronics.de Git - linux-beck.git/commit
sh: check for existing mappings for bolted PMB entries.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 3 Mar 2010 04:13:25 +0000 (13:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 3 Mar 2010 04:13:25 +0000 (13:13 +0900)
commita1042aa248e4ea7f39d5ce13f080cbf3b6c42618
tree6802af61a1e7e8072dad5bbef62b1e3fe1be1eba
parent6eb3c735d29e799810ce82118f9260d0044327b7
sh: check for existing mappings for bolted PMB entries.

When entries are being bolted unconditionally it's possible that the boot
loader has established mappings that are within range that we don't want
to clobber. Perform some basic validation to ensure that the new mapping
is out of range before allowing the entry setup to take place.

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