Skip to content
Commit b8bc0e50 authored by Russell King (Oracle)'s avatar Russell King (Oracle)
Browse files

ARM: add __arm_iomem_set_ro() to write-protect ioremapped area



__arm_iomem_set_ro() marks an ioremapped area read-only. This is
intended for use with __arm_ioremap_exec() to allow the kernel to
write some code into e.g. SRAM and then write-protect it so the
kernel doesn't complain about W+X mappings.

Tested-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
parent 48342ae7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment