Skip to contentSkip to conversation

pramfs: add x86 set_memory_{rw|ro} flag

PATCH In review Marco Stornelli 1 participant 1 message Sep 7, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/19 pramfs: add x86 set_memory_{rw|ro} flag

Add a flag to x86 arch to know if a set_memory_{rw|ro} is supported.

---
 arch/Kconfig     |    3 +++
 arch/x86/Kconfig |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
arch/Kconfig +3 -0
index 1feb169..589a043 100644
@@ -171,6 +171,9 @@ config USER_RETURN_NOTIFIER
 config HAVE_IOREMAP_PROT
 	bool
 
+config HAVE_SET_MEMORY_RO
+	bool
+
 config HAVE_KPROBES
 	bool
 
arch/x86/Kconfig +1 -0
index 5c0ed72..c500462 100644
@@ -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
Signature · 1 line
1.7.3.4