summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/uapi/asm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 05:05:03 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-28 00:19:52 +0300
commit8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch)
tree189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/xtensa/include/uapi/asm
parentd759be8953febb6e5b5376c7d9bbf568864c6e2d (diff)
downloadlinux-8ced390c2b18364af35e3d3f080e06f8ea96be9a.tar.xz
define __poll_t, annotate constants
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa/include/uapi/asm')
-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>