summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-02 22:05:03 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:19:52 -0500
commit8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch)
tree189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/xtensa
parentd759be8953febb6e5b5376c7d9bbf568864c6e2d (diff)
downloadlinux-8ced390c2b18364af35e3d3f080e06f8ea96be9a.tar.bz2
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa')
-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>