diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-02 22:05:03 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:19:52 -0500 |
commit | 8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch) | |
tree | 189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/sparc/include | |
parent | d759be8953febb6e5b5376c7d9bbf568864c6e2d (diff) |
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/include')
-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> |