Rename two structure field members while keeping backwards compatibility in

the LinuxKPI. Add a comment saying in which Linux version this change was made.

Submitted by:	Johannes Lundberg <johalun0@gmail.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
Sponsored by:	Limelight Networks
This commit is contained in:
Hans Petter Selasky 2018-06-06 15:06:21 +00:00
parent 1b092623b2
commit ab98f1e8d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334714

View File

@ -63,12 +63,18 @@ struct wait_queue {
unsigned int flags; /* always 0 */
void *private;
wait_queue_func_t *func;
struct list_head task_list;
union {
struct list_head task_list; /* < v4.13 */
struct list_head entry; /* >= v4.13 */
};
};
struct wait_queue_head {
spinlock_t lock;
struct list_head task_list;
union {
struct list_head task_list; /* < v4.13 */
struct list_head head; /* >= v4.13 */
};
};
/*