summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
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/blackfin
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/blackfin')
-rw-r--r--arch/blackfin/include/uapi/asm/poll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/include/uapi/asm/poll.h b/arch/blackfin/include/uapi/asm/poll.h
index 8b094d43e9b7..961e49056b0a 100644
--- a/arch/blackfin/include/uapi/asm/poll.h
+++ b/arch/blackfin/include/uapi/asm/poll.h
@@ -9,8 +9,8 @@
#ifndef _UAPI__BFIN_POLL_H
#define _UAPI__BFIN_POLL_H
-#define POLLWRNORM 4 /* POLLOUT */
-#define POLLWRBAND 256
+#define POLLWRNORM (__force __poll_t)4 /* POLLOUT */
+#define POLLWRBAND (__force __poll_t)256
#include <asm-generic/poll.h>