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:
hselasky 2018-06-06 15:06:21 +00:00
parent 93c0ede526
commit 0de2147890

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 */
};
};
/*