hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/lib/plist.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * lib/plist.c
34 *
....@@ -14,8 +15,6 @@
1415 * Simplifications of the original code by
1516 * Oleg Nesterov <oleg@tv-sign.ru>
1617 *
17
- * Licensed under the FSF's GNU Public License v2 or later.
18
- *
1918 * Based on simple lists (include/linux/list.h).
2019 *
2120 * This file contains the add / del functions which are considered to
....@@ -26,7 +25,7 @@
2625 #include <linux/bug.h>
2726 #include <linux/plist.h>
2827
29
-#ifdef CONFIG_DEBUG_PI_LIST
28
+#ifdef CONFIG_DEBUG_PLIST
3029
3130 static struct plist_head test_head;
3231
....@@ -174,8 +173,9 @@
174173
175174 plist_check_head(head);
176175 }
176
+EXPORT_SYMBOL_GPL(plist_requeue);
177177
178
-#ifdef CONFIG_DEBUG_PI_LIST
178
+#ifdef CONFIG_DEBUG_PLIST
179179 #include <linux/sched.h>
180180 #include <linux/sched/clock.h>
181181 #include <linux/module.h>