[PATCH] arm: mm: export set_memory_x and set_meory_nx
Russell King - ARM Linux
linux at armlinux.org.uk
Thu Sep 1 02:56:18 PDT 2016
On Thu, Sep 01, 2016 at 06:45:25PM +0900, Jungseung Lee wrote:
> This patch exports set_memory_x and set_memory_nx functions.
> It is still allowed for modules to use these functions in other
> architectures. In a similar manner to arm, export these functions.
They don't work on general kernel memory, so I'd much prefer that these
weren't exported.
I see no users of set_memory_nx() in modules. There's one module that
uses set_memory_x(), which is drivers/watchdog/hpwdt.c. The three users
of that are ifdef'd for x86 cases, and it's used on the result of
ioremapping, which will fail on ARMs implementation (which only allows
modules memory.)
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel
mailing list