[OS-BUILD PATCH 1/2] Fedora: only enable DEBUG_HIGHMEM on debug kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peter Robinson <pbrobinson@xxxxxxxxxx>

Fedora: only enable DEBUG_HIGHMEM on debug kernels

We shouldn't have DEBUG_HIGHMEM for default kernels so disable it
and any of the bits that try to enable it on standard kernels but
leave it in place for debug kernels.

Signed-off-by: Peter Robinson <pbrobinson@xxxxxxxxxx>

diff a/redhat/configs/fedora/debug/CONFIG_DEBUG_HIGHMEM b/redhat/configs/fedora/debug/CONFIG_DEBUG_HIGHMEM
--- /dev/null
+++ b/redhat/configs/fedora/debug/CONFIG_DEBUG_HIGHMEM
@@ -0,0 +1 @@
+CONFIG_DEBUG_HIGHMEM=y
diff a/redhat/configs/fedora/debug/CONFIG_DEBUG_KMAP_LOCAL b/redhat/configs/fedora/debug/CONFIG_DEBUG_KMAP_LOCAL
--- /dev/null
+++ b/redhat/configs/fedora/debug/CONFIG_DEBUG_KMAP_LOCAL
@@ -0,0 +1 @@
+CONFIG_DEBUG_KMAP_LOCAL=y
diff a/redhat/configs/fedora/debug/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP b/redhat/configs/fedora/debug/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
--- /dev/null
+++ b/redhat/configs/fedora/debug/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
@@ -0,0 +1 @@
+CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y
diff a/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM b/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
+++ b/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
@@ -1 +1 @@
-CONFIG_DEBUG_HIGHMEM=y
+# CONFIG_DEBUG_HIGHMEM is not set
diff a/redhat/configs/fedora/generic/CONFIG_DEBUG_KMAP_LOCAL b/redhat/configs/fedora/generic/CONFIG_DEBUG_KMAP_LOCAL
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_DEBUG_KMAP_LOCAL
@@ -0,0 +1 @@
+# CONFIG_DEBUG_KMAP_LOCAL is not set
diff a/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP b/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
--- /dev/null
+++ b/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
@@ -0,0 +1 @@
+# CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/895
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux