Loading drivers/input/mousedev.c +6 −2 Original line number Diff line number Diff line Loading @@ -220,6 +220,7 @@ static void mousedev_notify_readers(struct mousedev *mousedev, struct mousedev_h struct mousedev_list *list; struct mousedev_motion *p; unsigned long flags; int wake_readers = 0; list_for_each_entry(list, &mousedev->list, node) { spin_lock_irqsave(&list->packet_lock, flags); Loading Loading @@ -255,10 +256,13 @@ static void mousedev_notify_readers(struct mousedev *mousedev, struct mousedev_h spin_unlock_irqrestore(&list->packet_lock, flags); if (list->ready) if (list->ready) { kill_fasync(&list->fasync, SIGIO, POLL_IN); wake_readers = 1; } } if (wake_readers) wake_up_interruptible(&mousedev->wait); } Loading Loading
drivers/input/mousedev.c +6 −2 Original line number Diff line number Diff line Loading @@ -220,6 +220,7 @@ static void mousedev_notify_readers(struct mousedev *mousedev, struct mousedev_h struct mousedev_list *list; struct mousedev_motion *p; unsigned long flags; int wake_readers = 0; list_for_each_entry(list, &mousedev->list, node) { spin_lock_irqsave(&list->packet_lock, flags); Loading Loading @@ -255,10 +256,13 @@ static void mousedev_notify_readers(struct mousedev *mousedev, struct mousedev_h spin_unlock_irqrestore(&list->packet_lock, flags); if (list->ready) if (list->ready) { kill_fasync(&list->fasync, SIGIO, POLL_IN); wake_readers = 1; } } if (wake_readers) wake_up_interruptible(&mousedev->wait); } Loading