History

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.

Davidlohr Bueso committed 7 years ago

Commit 8e18fae1 parent cdc90a13 files · +5 −5Browse files

Unified · Split

3 files
  1. include/linux/plist.h +2 −2
  2. lib/Kconfig.debug +1 −1
  3. lib/plist.c +2 −2
include/linux/plist.h+2−2
@@ -231,7 +231,7 @@ static inline int plist_node_empty(const struct plist_node *node) · 230 unmodified lines
231231 * @type: the type of the struct this is embedded in
232232 * @member: the name of the list_head within the struct
233233 */
234−#ifdef CONFIG_DEBUG_PI_LIST
234+#ifdef CONFIG_DEBUG_PLIST
235235 # define plist_first_entry(head, type, member) \
236236 ({ \
237237 WARN_ON(plist_head_empty(head)); \
@@ -248,7 +248,7 @@ static inline int plist_node_empty(const struct plist_node *node) · 10 unmodified lines
248248 * @type: the type of the struct this is embedded in
249249 * @member: the name of the list_head within the struct
250250 */
251−#ifdef CONFIG_DEBUG_PI_LIST
251+#ifdef CONFIG_DEBUG_PLIST
252252 # define plist_last_entry(head, type, member) \
253253 ({ \
254254 WARN_ON(plist_head_empty(head)); \
lib/Kconfig.debug+1−1
@@ -1372,7 +1372,7 @@ config DEBUG_LIST · 1371 unmodified lines
13721372
13731373 If unsure, say N.
13741374
1375−config DEBUG_PI_LIST
1375+config DEBUG_PLIST
13761376 bool "Debug priority linked list manipulation"
13771377 depends on DEBUG_KERNEL
13781378 help
lib/plist.c+2−2
@@ -26,7 +26,7 @@ · 25 unmodified lines
2626 #include <linux/bug.h>
2727 #include <linux/plist.h>
2828
29−#ifdef CONFIG_DEBUG_PI_LIST
29+#ifdef CONFIG_DEBUG_PLIST
3030
3131 static struct plist_head test_head;
3232
@@ -173,7 +173,7 @@ void plist_requeue(struct plist_node *node, struct plist_head *head) · 140 unmodified lines
173173 plist_check_head(head);
174174 }
175175
176−#ifdef CONFIG_DEBUG_PI_LIST
176+#ifdef CONFIG_DEBUG_PLIST
177177 #include <linux/sched.h>
178178 #include <linux/sched/clock.h>
179179 #include <linux/module.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t