8e2d710
From 78bd7226c92c8309d1c6c1378f1224dcd591b49f Mon Sep 17 00:00:00 2001
f944705
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
f944705
Date: Fri, 22 Jan 2016 13:03:36 -0600
f944705
Subject: [PATCH] Make ZONE_DMA not depend on CONFIG_EXPERT
f944705
f944705
Disable the requirement on CONFIG_EXPERT for ZONE_DMA and ZONE_DEVICE so
f944705
that we can enable NVDIMM_PFN and ND_PFN
f944705
f944705
Signed-off-by: Justin Forbes <jforbes@fedoraproject.org>
f944705
---
f944705
 arch/x86/Kconfig | 2 +-
f944705
 mm/Kconfig       | 2 +-
f944705
 2 files changed, 2 insertions(+), 2 deletions(-)
f944705
f944705
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
8e2d710
index 3c74b549ea9a..8a5b7b8cc425 100644
f944705
--- a/arch/x86/Kconfig
f944705
+++ b/arch/x86/Kconfig
8e2d710
@@ -318,7 +318,7 @@ source "kernel/Kconfig.freezer"
f944705
 menu "Processor type and features"
8e2d710
 
f944705
 config ZONE_DMA
f944705
-	bool "DMA memory allocation support" if EXPERT
f944705
+	bool "DMA memory allocation support"
f944705
 	default y
f944705
 	help
f944705
 	  DMA memory allocation support allows devices with less than 32-bit
f944705
diff --git a/mm/Kconfig b/mm/Kconfig
8e2d710
index 05efa6a5199e..c1a01e50c293 100644
f944705
--- a/mm/Kconfig
f944705
+++ b/mm/Kconfig
f944705
@@ -650,7 +650,7 @@ config IDLE_PAGE_TRACKING
f944705
 	  See Documentation/vm/idle_page_tracking.txt for more details.
8e2d710
 
f944705
 config ZONE_DEVICE
f944705
-	bool "Device memory (pmem, etc...) hotplug support" if EXPERT
f944705
+	bool "Device memory (pmem, etc...) hotplug support"
f944705
 	depends on MEMORY_HOTPLUG
8e2d710
 	depends on MEMORY_HOTREMOVE
8e2d710
 	depends on SPARSEMEM_VMEMMAP
f944705
-- 
f944705
2.5.0
f944705