diff options
Diffstat (limited to 'include/linux/plist.h')
| -rw-r--r-- | include/linux/plist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/plist.h b/include/linux/plist.h index 97883604a3c5..9365df5a823f 100644 --- a/include/linux/plist.h +++ b/include/linux/plist.h | |||
| @@ -231,7 +231,7 @@ static inline int plist_node_empty(const struct plist_node *node) | |||
| 231 | * @type: the type of the struct this is embedded in | 231 | * @type: the type of the struct this is embedded in |
| 232 | * @member: the name of the list_head within the struct | 232 | * @member: the name of the list_head within the struct |
| 233 | */ | 233 | */ |
| 234 | #ifdef CONFIG_DEBUG_PI_LIST | 234 | #ifdef CONFIG_DEBUG_PLIST |
| 235 | # define plist_first_entry(head, type, member) \ | 235 | # define plist_first_entry(head, type, member) \ |
| 236 | ({ \ | 236 | ({ \ |
| 237 | WARN_ON(plist_head_empty(head)); \ | 237 | WARN_ON(plist_head_empty(head)); \ |
| @@ -248,7 +248,7 @@ static inline int plist_node_empty(const struct plist_node *node) | |||
| 248 | * @type: the type of the struct this is embedded in | 248 | * @type: the type of the struct this is embedded in |
| 249 | * @member: the name of the list_head within the struct | 249 | * @member: the name of the list_head within the struct |
| 250 | */ | 250 | */ |
| 251 | #ifdef CONFIG_DEBUG_PI_LIST | 251 | #ifdef CONFIG_DEBUG_PLIST |
| 252 | # define plist_last_entry(head, type, member) \ | 252 | # define plist_last_entry(head, type, member) \ |
| 253 | ({ \ | 253 | ({ \ |
| 254 | WARN_ON(plist_head_empty(head)); \ | 254 | WARN_ON(plist_head_empty(head)); \ |
