From: Waiman Long <long...@redhat.com>

redhat/configs: Move all the lock debugging Kconfig's to common

The setting of all the lock debugging kernel config options below are
the same for both Fedora and RHEL.
 - DEBUG_SPINLOCK
 - DEBUG_MUTEXES
 - DEBUG_RT_MUTEXES
 - DEBUG_RWSEMS
 - DEBUG_WW_MUTEX_SLOWPATH
 - DEBUG_LOCK_ALLOC
 - PROVE_LOCKING

Move them to common/{debug,generic}.

Signed-off-by: Waiman Long <long...@redhat.com>

diff --git a/redhat/configs/fedora/debug/CONFIG_DEBUG_LOCK_ALLOC 
b/redhat/configs/common/debug/CONFIG_DEBUG_LOCK_ALLOC
rename from redhat/configs/fedora/debug/CONFIG_DEBUG_LOCK_ALLOC
rename to redhat/configs/common/debug/CONFIG_DEBUG_LOCK_ALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_DEBUG_LOCK_ALLOC
+++ b/redhat/configs/common/debug/CONFIG_DEBUG_LOCK_ALLOC
diff --git a/redhat/configs/fedora/debug/CONFIG_DEBUG_MUTEXES 
b/redhat/configs/common/debug/CONFIG_DEBUG_MUTEXES
rename from redhat/configs/fedora/debug/CONFIG_DEBUG_MUTEXES
rename to redhat/configs/common/debug/CONFIG_DEBUG_MUTEXES
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_DEBUG_MUTEXES
+++ b/redhat/configs/common/debug/CONFIG_DEBUG_MUTEXES
diff --git a/redhat/configs/fedora/debug/CONFIG_DEBUG_RT_MUTEXES 
b/redhat/configs/common/debug/CONFIG_DEBUG_RT_MUTEXES
rename from redhat/configs/fedora/debug/CONFIG_DEBUG_RT_MUTEXES
rename to redhat/configs/common/debug/CONFIG_DEBUG_RT_MUTEXES
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_DEBUG_RT_MUTEXES
+++ b/redhat/configs/common/debug/CONFIG_DEBUG_RT_MUTEXES
diff --git a/redhat/configs/fedora/debug/CONFIG_DEBUG_RWSEMS 
b/redhat/configs/common/debug/CONFIG_DEBUG_RWSEMS
rename from redhat/configs/fedora/debug/CONFIG_DEBUG_RWSEMS
rename to redhat/configs/common/debug/CONFIG_DEBUG_RWSEMS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_DEBUG_RWSEMS
+++ b/redhat/configs/common/debug/CONFIG_DEBUG_RWSEMS
diff --git a/redhat/configs/fedora/debug/CONFIG_DEBUG_SPINLOCK 
b/redhat/configs/common/debug/CONFIG_DEBUG_SPINLOCK
rename from redhat/configs/fedora/debug/CONFIG_DEBUG_SPINLOCK
rename to redhat/configs/common/debug/CONFIG_DEBUG_SPINLOCK
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_DEBUG_SPINLOCK
+++ b/redhat/configs/common/debug/CONFIG_DEBUG_SPINLOCK
diff --git a/redhat/configs/fedora/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH 
b/redhat/configs/common/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
rename from redhat/configs/fedora/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
rename to redhat/configs/common/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
+++ b/redhat/configs/common/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
diff --git a/redhat/configs/fedora/debug/CONFIG_PROVE_LOCKING 
b/redhat/configs/common/debug/CONFIG_PROVE_LOCKING
rename from redhat/configs/fedora/debug/CONFIG_PROVE_LOCKING
rename to redhat/configs/common/debug/CONFIG_PROVE_LOCKING
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_PROVE_LOCKING
+++ b/redhat/configs/common/debug/CONFIG_PROVE_LOCKING
diff --git a/redhat/configs/fedora/generic/CONFIG_DEBUG_LOCK_ALLOC 
b/redhat/configs/common/generic/CONFIG_DEBUG_LOCK_ALLOC
rename from redhat/configs/fedora/generic/CONFIG_DEBUG_LOCK_ALLOC
rename to redhat/configs/common/generic/CONFIG_DEBUG_LOCK_ALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_LOCK_ALLOC
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_LOCK_ALLOC
diff --git a/redhat/configs/fedora/generic/CONFIG_DEBUG_MUTEXES 
b/redhat/configs/common/generic/CONFIG_DEBUG_MUTEXES
rename from redhat/configs/fedora/generic/CONFIG_DEBUG_MUTEXES
rename to redhat/configs/common/generic/CONFIG_DEBUG_MUTEXES
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_MUTEXES
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_MUTEXES
diff --git a/redhat/configs/fedora/generic/CONFIG_DEBUG_RT_MUTEXES 
b/redhat/configs/common/generic/CONFIG_DEBUG_RT_MUTEXES
rename from redhat/configs/fedora/generic/CONFIG_DEBUG_RT_MUTEXES
rename to redhat/configs/common/generic/CONFIG_DEBUG_RT_MUTEXES
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_RT_MUTEXES
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_RT_MUTEXES
diff --git a/redhat/configs/fedora/generic/CONFIG_DEBUG_RWSEMS 
b/redhat/configs/common/generic/CONFIG_DEBUG_RWSEMS
rename from redhat/configs/fedora/generic/CONFIG_DEBUG_RWSEMS
rename to redhat/configs/common/generic/CONFIG_DEBUG_RWSEMS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_RWSEMS
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_RWSEMS
diff --git a/redhat/configs/fedora/generic/CONFIG_DEBUG_SPINLOCK 
b/redhat/configs/common/generic/CONFIG_DEBUG_SPINLOCK
rename from redhat/configs/fedora/generic/CONFIG_DEBUG_SPINLOCK
rename to redhat/configs/common/generic/CONFIG_DEBUG_SPINLOCK
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_SPINLOCK
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_SPINLOCK
diff --git a/redhat/configs/fedora/generic/CONFIG_DEBUG_WW_MUTEX_SLOWPATH 
b/redhat/configs/common/generic/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
rename from redhat/configs/fedora/generic/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
rename to redhat/configs/common/generic/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
diff --git a/redhat/configs/fedora/generic/CONFIG_PROVE_LOCKING 
b/redhat/configs/common/generic/CONFIG_PROVE_LOCKING
rename from redhat/configs/fedora/generic/CONFIG_PROVE_LOCKING
rename to redhat/configs/common/generic/CONFIG_PROVE_LOCKING
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_PROVE_LOCKING
+++ b/redhat/configs/common/generic/CONFIG_PROVE_LOCKING
diff --git a/redhat/configs/rhel/debug/CONFIG_DEBUG_LOCK_ALLOC 
b/redhat/configs/rhel/debug/CONFIG_DEBUG_LOCK_ALLOC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEBUG_LOCK_ALLOC
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEBUG_LOCK_ALLOC=y
diff --git a/redhat/configs/rhel/debug/CONFIG_DEBUG_MUTEXES 
b/redhat/configs/rhel/debug/CONFIG_DEBUG_MUTEXES
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEBUG_MUTEXES
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEBUG_MUTEXES=y
diff --git a/redhat/configs/rhel/debug/CONFIG_DEBUG_RT_MUTEXES 
b/redhat/configs/rhel/debug/CONFIG_DEBUG_RT_MUTEXES
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEBUG_RT_MUTEXES
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEBUG_RT_MUTEXES=y
diff --git a/redhat/configs/rhel/debug/CONFIG_DEBUG_RWSEMS 
b/redhat/configs/rhel/debug/CONFIG_DEBUG_RWSEMS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEBUG_RWSEMS
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEBUG_RWSEMS=y
diff --git a/redhat/configs/rhel/debug/CONFIG_DEBUG_SPINLOCK 
b/redhat/configs/rhel/debug/CONFIG_DEBUG_SPINLOCK
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEBUG_SPINLOCK
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEBUG_SPINLOCK=y
diff --git a/redhat/configs/rhel/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH 
b/redhat/configs/rhel/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_DEBUG_WW_MUTEX_SLOWPATH
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3695

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to