summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 04:05:03 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 22:19:52 +0100
commit8ced390c2b18364af35e3d3f080e06f8ea96be9a (patch)
tree189a80e3bbc1da8328cebe352b6d60aeb4b60568 /arch/xtensa/include
parentswitch wrapper poll.h instances to generic-y (diff)
downloadlinux-8ced390c2b18364af35e3d3f080e06f8ea96be9a.tar.xz
linux-8ced390c2b18364af35e3d3f080e06f8ea96be9a.zip
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>