aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorAl Viro2017-07-02 22:05:03 -0400
committerAl Viro2017-11-27 16:19:52 -0500
commit8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch)
tree189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/xtensa/include
parentd759be8953febb6e5b5376c7d9bbf568864c6e2d (diff)
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r--arch/xtensa/include/uapi/asm/poll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/include/uapi/asm/poll.h b/arch/xtensa/include/uapi/asm/poll.h
index 4d249040b33d..22bbc48b9f85 100644
--- a/arch/xtensa/include/uapi/asm/poll.h
+++ b/arch/xtensa/include/uapi/asm/poll.h
@@ -13,8 +13,8 @@
#define _XTENSA_POLL_H
#define POLLWRNORM POLLOUT
-#define POLLWRBAND 0x0100
-#define POLLREMOVE 0x0800
+#define POLLWRBAND (__force __poll_t)0x0100
+#define POLLREMOVE (__force __poll_t)0x0800
#include <asm-generic/poll.h>