.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * lib/plist.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
14 | 15 | * Simplifications of the original code by |
---|
15 | 16 | * Oleg Nesterov <oleg@tv-sign.ru> |
---|
16 | 17 | * |
---|
17 | | - * Licensed under the FSF's GNU Public License v2 or later. |
---|
18 | | - * |
---|
19 | 18 | * Based on simple lists (include/linux/list.h). |
---|
20 | 19 | * |
---|
21 | 20 | * This file contains the add / del functions which are considered to |
---|
.. | .. |
---|
26 | 25 | #include <linux/bug.h> |
---|
27 | 26 | #include <linux/plist.h> |
---|
28 | 27 | |
---|
29 | | -#ifdef CONFIG_DEBUG_PI_LIST |
---|
| 28 | +#ifdef CONFIG_DEBUG_PLIST |
---|
30 | 29 | |
---|
31 | 30 | static struct plist_head test_head; |
---|
32 | 31 | |
---|
.. | .. |
---|
174 | 173 | |
---|
175 | 174 | plist_check_head(head); |
---|
176 | 175 | } |
---|
| 176 | +EXPORT_SYMBOL_GPL(plist_requeue); |
---|
177 | 177 | |
---|
178 | | -#ifdef CONFIG_DEBUG_PI_LIST |
---|
| 178 | +#ifdef CONFIG_DEBUG_PLIST |
---|
179 | 179 | #include <linux/sched.h> |
---|
180 | 180 | #include <linux/sched/clock.h> |
---|
181 | 181 | #include <linux/module.h> |
---|