1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 #ifndef _LINUX_PLIST_TYPES_H 3 #define _LINUX_PLIST_TYPES_H 4 5 #include <linux/types.h> 6 7 struct plist_head { 8 struct list_head node_list; 9 }; 10 11 struct plist_node { 12 int prio; 13 struct list_head prio_list; 14 struct list_head node_list; 15 }; 16 17 #endif /* _LINUX_PLIST_TYPES_H */ 18