Skip to content

Commit 4553c8c

Browse files
kot-begemot-ukgregkh
authored andcommitted
um: Monitor error events in IRQ controller
[ Upstream commit e3a01cb ] Ensure that file closes, connection closes, etc are propagated as interrupts in the interrupt controller. Fixes: ff6a179 ("Epoll based IRQ controller") Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 0cc9725 commit 4553c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/um/os-Linux/irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ int os_epoll_triggered(int index, int events)
4848
int os_event_mask(int irq_type)
4949
{
5050
if (irq_type == IRQ_READ)
51-
return EPOLLIN | EPOLLPRI;
51+
return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP;
5252
if (irq_type == IRQ_WRITE)
5353
return EPOLLOUT;
5454
return 0;

0 commit comments

Comments
 (0)