[RFC 3/4] Adding a new kernel configuration to enable the feature

From: Ronit Halder
Date: Fri Aug 12 2016 - 10:26:47 EST


Kernel configuration option added to enable run time memory reservation
feature for kexec.

Signed-off-by: Ronit Halder <ronit.crj@xxxxxxxxx>

---
mm/Kconfig | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 97a4e06..8b1533d 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -668,3 +668,9 @@ config ZONE_DEVICE

config FRAME_VECTOR
bool
+config KEXEC_CMA
+ bool "Use CMA for Kexec crash kernel"
+ depends on CMA
+ help
+ This configuration option is to use CMA for Kexec.
+ CMA helps us to allocate memory for crash kernel at runtime.
\ No newline at end of file
--
2.9.0.GIT