* [PATCH 02/19] pramfs: add x86 set_memory_{rw|ro} flag
@ 2013-09-07 8:17 Marco Stornelli
0 siblings, 0 replies; only message in thread
From: Marco Stornelli @ 2013-09-07 8:17 UTC (permalink / raw)
To: Linux FS Devel
Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, linux-kernel
Add a flag to x86 arch to know if a set_memory_{rw|ro} is supported.
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
---
arch/Kconfig | 3 +++
arch/x86/Kconfig | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 1feb169..589a043 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -171,6 +171,9 @@ config USER_RETURN_NOTIFIER
config HAVE_IOREMAP_PROT
bool
+config HAVE_SET_MEMORY_RO
+ bool
+
config HAVE_KPROBES
bool
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 5c0ed72..c500462 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -30,6 +30,7 @@ config X86
select HAVE_OPROFILE
select HAVE_PCSPKR_PLATFORM
select HAVE_PERF_EVENTS
+ select HAVE_SET_MEMORY_RO
select HAVE_IOREMAP_PROT
select HAVE_KPROBES
select HAVE_MEMBLOCK
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-07 8:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-07 8:17 [PATCH 02/19] pramfs: add x86 set_memory_{rw|ro} flag Marco Stornelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox