diff options
| -rw-r--r-- | include/uapi/linux/eventpoll.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/uapi/linux/eventpoll.h b/include/uapi/linux/eventpoll.h index bf48e71f2634..8a3432d0f0dc 100644 --- a/include/uapi/linux/eventpoll.h +++ b/include/uapi/linux/eventpoll.h | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | #define EPOLLRDHUP (__force __poll_t)0x00002000 | 42 | #define EPOLLRDHUP (__force __poll_t)0x00002000 |
| 43 | 43 | ||
| 44 | /* Set exclusive wakeup mode for the target file descriptor */ | 44 | /* Set exclusive wakeup mode for the target file descriptor */ |
| 45 | #define EPOLLEXCLUSIVE (__force __poll_t)(1U << 28) | 45 | #define EPOLLEXCLUSIVE ((__force __poll_t)(1U << 28)) |
| 46 | 46 | ||
| 47 | /* | 47 | /* |
| 48 | * Request the handling of system wakeup events so as to prevent system suspends | 48 | * Request the handling of system wakeup events so as to prevent system suspends |
| @@ -54,13 +54,13 @@ | |||
| 54 | * | 54 | * |
| 55 | * Requires CAP_BLOCK_SUSPEND | 55 | * Requires CAP_BLOCK_SUSPEND |
| 56 | */ | 56 | */ |
| 57 | #define EPOLLWAKEUP (__force __poll_t)(1U << 29) | 57 | #define EPOLLWAKEUP ((__force __poll_t)(1U << 29)) |
| 58 | 58 | ||
| 59 | /* Set the One Shot behaviour for the target file descriptor */ | 59 | /* Set the One Shot behaviour for the target file descriptor */ |
| 60 | #define EPOLLONESHOT (__force __poll_t)(1U << 30) | 60 | #define EPOLLONESHOT ((__force __poll_t)(1U << 30)) |
| 61 | 61 | ||
| 62 | /* Set the Edge Triggered behaviour for the target file descriptor */ | 62 | /* Set the Edge Triggered behaviour for the target file descriptor */ |
| 63 | #define EPOLLET (__force __poll_t)(1U << 31) | 63 | #define EPOLLET ((__force __poll_t)(1U << 31)) |
| 64 | 64 | ||
| 65 | /* | 65 | /* |
| 66 | * On x86-64 make the 64bit structure have the same alignment as the | 66 | * On x86-64 make the 64bit structure have the same alignment as the |
