diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2019-05-14 18:42:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-14 22:52:49 -0400 |
commit | 8e18faeac3e4d4b3ff3d705cd46d0fcb710b09d0 (patch) | |
tree | 0456fd3cd8626d842824839c5d9b9d62e7d165de /lib | |
parent | cdc90a1871d6e64080f4506e900c6ef88e6fb39f (diff) |
lib/plist: rename DEBUG_PI_LIST to DEBUG_PLIST
This is a lot more appropriate than PI_LIST, which in the kernel one
would assume that it has to do with priority-inheritance; which is not
-- furthermore futexes make use of plists so this can be even more
confusing, albeit the debug nature of the config option.
Link: http://lkml.kernel.org/r/20190317185434.1626-1-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 2 | ||||
-rw-r--r-- | lib/plist.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d5411a7484f6..181bd56238b0 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1372,7 +1372,7 @@ config DEBUG_LIST | |||
1372 | 1372 | ||
1373 | If unsure, say N. | 1373 | If unsure, say N. |
1374 | 1374 | ||
1375 | config DEBUG_PI_LIST | 1375 | config DEBUG_PLIST |
1376 | bool "Debug priority linked list manipulation" | 1376 | bool "Debug priority linked list manipulation" |
1377 | depends on DEBUG_KERNEL | 1377 | depends on DEBUG_KERNEL |
1378 | help | 1378 | help |
diff --git a/lib/plist.c b/lib/plist.c index 199408f91057..d3bd8827186f 100644 --- a/lib/plist.c +++ b/lib/plist.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <linux/bug.h> | 26 | #include <linux/bug.h> |
27 | #include <linux/plist.h> | 27 | #include <linux/plist.h> |
28 | 28 | ||
29 | #ifdef CONFIG_DEBUG_PI_LIST | 29 | #ifdef CONFIG_DEBUG_PLIST |
30 | 30 | ||
31 | static struct plist_head test_head; | 31 | static struct plist_head test_head; |
32 | 32 | ||
@@ -173,7 +173,7 @@ void plist_requeue(struct plist_node *node, struct plist_head *head) | |||
173 | plist_check_head(head); | 173 | plist_check_head(head); |
174 | } | 174 | } |
175 | 175 | ||
176 | #ifdef CONFIG_DEBUG_PI_LIST | 176 | #ifdef CONFIG_DEBUG_PLIST |
177 | #include <linux/sched.h> | 177 | #include <linux/sched.h> |
178 | #include <linux/sched/clock.h> | 178 | #include <linux/sched/clock.h> |
179 | #include <linux/module.h> | 179 | #include <linux/module.h> |