Commit e720f32f authored by Al Viro's avatar Al Viro

ia64: annotate ->poll() instances

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 87c1c093
...@@ -1644,12 +1644,12 @@ pfm_write(struct file *file, const char __user *ubuf, ...@@ -1644,12 +1644,12 @@ pfm_write(struct file *file, const char __user *ubuf,
return -EINVAL; return -EINVAL;
} }
static unsigned int static __poll_t
pfm_poll(struct file *filp, poll_table * wait) pfm_poll(struct file *filp, poll_table * wait)
{ {
pfm_context_t *ctx; pfm_context_t *ctx;
unsigned long flags; unsigned long flags;
unsigned int mask = 0; __poll_t mask = 0;
if (PFM_IS_FILE(filp) == 0) { if (PFM_IS_FILE(filp) == 0) {
printk(KERN_ERR "perfmon: pfm_poll: bad magic [%d]\n", task_pid_nr(current)); printk(KERN_ERR "perfmon: pfm_poll: bad magic [%d]\n", task_pid_nr(current));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment