define __poll_t, annotate constants

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-07-02 22:05:03 -04:00
parent d759be8953
commit 8ced390c2b
8 changed files with 32 additions and 26 deletions

View File

@@ -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>