summaryrefslogtreecommitdiffstats
path: root/kernel/events
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 00:42:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:20:05 -0500
commit9dd957485d7d896ec18d8e2f9dd410efe71eca34 (patch)
tree3fc16b03e1192c378e266bcbd8f9b41397e2d826 /kernel/events
parentade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (diff)
downloadblackbird-op-linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.tar.gz
blackbird-op-linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.zip
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/events')
-rw-r--r--kernel/events/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 16beab4767e1..857c40d98d2c 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -4511,11 +4511,11 @@ perf_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
return ret;
}
-static unsigned int perf_poll(struct file *file, poll_table *wait)
+static __poll_t perf_poll(struct file *file, poll_table *wait)
{
struct perf_event *event = file->private_data;
struct ring_buffer *rb;
- unsigned int events = POLLHUP;
+ __poll_t events = POLLHUP;
poll_wait(file, &event->waitq, wait);
OpenPOWER on IntegriCloud