Browse Source

ia64: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 8 năm trước cách đây
mục cha
commit
e720f32fce
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      arch/ia64/kernel/perfmon.c

+ 2 - 2
arch/ia64/kernel/perfmon.c

@@ -1644,12 +1644,12 @@ pfm_write(struct file *file, const char __user *ubuf,
 	return -EINVAL;
 }
 
-static unsigned int
+static __poll_t
 pfm_poll(struct file *filp, poll_table * wait)
 {
 	pfm_context_t *ctx;
 	unsigned long flags;
-	unsigned int mask = 0;
+	__poll_t mask = 0;
 
 	if (PFM_IS_FILE(filp) == 0) {
 		printk(KERN_ERR "perfmon: pfm_poll: bad magic [%d]\n", task_pid_nr(current));