From: linux@armlinux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: mm: export set_memory_x and set_meory_nx
Date: Thu, 1 Sep 2016 10:56:18 +0100 [thread overview]
Message-ID: <20160901095618.GV1041@n2100.armlinux.org.uk> (raw)
In-Reply-To: <20160901094525.8296-1-js07.lee@samsung.com>
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.
prev parent reply other threads:[~2016-09-01 9:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 9:45 [PATCH] arm: mm: export set_memory_x and set_meory_nx Jungseung Lee
2016-09-01 9:56 ` Russell King - ARM Linux [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160901095618.GV1041@n2100.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).