diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 04:05:03 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 22:19:52 +0100 |
commit | 8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch) | |
tree | 189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/sparc | |
parent | switch wrapper poll.h instances to generic-y (diff) | |
download | linux-8ced390c2b18364af35e3d3f080e06f8ea96be9a.tar.xz linux-8ced390c2b18364af35e3d3f080e06f8ea96be9a.zip |
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/uapi/asm/poll.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/include/uapi/asm/poll.h b/arch/sparc/include/uapi/asm/poll.h index 72356c999125..595cb12df1f1 100644 --- a/arch/sparc/include/uapi/asm/poll.h +++ b/arch/sparc/include/uapi/asm/poll.h @@ -3,10 +3,10 @@ #define __SPARC_POLL_H #define POLLWRNORM POLLOUT -#define POLLWRBAND 256 -#define POLLMSG 512 -#define POLLREMOVE 1024 -#define POLLRDHUP 2048 +#define POLLWRBAND (__force __poll_t)256 +#define POLLMSG (__force __poll_t)512 +#define POLLREMOVE (__force __poll_t)1024 +#define POLLRDHUP (__force __poll_t)2048 #include <asm-generic/poll.h> |