diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-08-22 00:28:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-09-06 17:02:26 +0200 |
commit | bd38f8457431b63ce8f65c7a9f9e80c976e23ddd (patch) | |
tree | dfa261f8c027a17d8381e7456aa6face0c89c466 /backport/backport-include | |
parent | d6020e67b6d9b998b9e1eb852f22d369e237b2b8 (diff) |
header: rename wait_queue_entry_t to wait_queue_t
In kernel 4.13 wait_queue_t was renamed to wait_queue_entry_t, reverse
this for older kernel versions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include')
-rw-r--r-- | backport/backport-include/linux/wait.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/backport-include/linux/wait.h b/backport/backport-include/linux/wait.h index 3059ff1d..c4b1114e 100644 --- a/backport/backport-include/linux/wait.h +++ b/backport/backport-include/linux/wait.h @@ -76,4 +76,8 @@ wait_on_bit_timeout(void *word, int bit, unsigned mode, unsigned long timeout) #endif #endif +#if LINUX_VERSION_IS_LESS(4,13,0) +#define wait_queue_entry_t wait_queue_t +#endif + #endif /* __BACKPORT_LINUX_WAIT_H */ |