mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
6eb3c735d2
commit
a1042aa248
1 changed files with 96 additions and 44 deletions
150
arch/sh/mm/pmb.c
150
arch/sh/mm/pmb.c
Loading…
Add table
Add a link
Reference in a new issue