summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2020-12-07 18:19:38 +0100
committerRichard Weinberger <richard@nod.at>2020-12-13 22:38:28 +0100
commite3a01cbee9c5f2c6fc813dd6af007716e60257e7 (patch)
treec0bfab11ef9e633de01b77e3c0d163a37ec5060d /arch/um/os-Linux
parentum: allocate a guard page to helper threads (diff)
downloadlinux-e3a01cbee9c5f2c6fc813dd6af007716e60257e7.tar.xz
linux-e3a01cbee9c5f2c6fc813dd6af007716e60257e7.zip
um: Monitor error events in IRQ controller
Ensure that file closes, connection closes, etc are propagated as interrupts in the interrupt controller. Fixes: ff6a17989c08 ("Epoll based IRQ controller") Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r--arch/um/os-Linux/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/irq.c b/arch/um/os-Linux/irq.c
index aa90a05b3d78..98ea910ef87c 100644
--- a/arch/um/os-Linux/irq.c
+++ b/arch/um/os-Linux/irq.c
@@ -48,7 +48,7 @@ int os_epoll_triggered(int index, int events)
int os_event_mask(enum um_irq_type irq_type)
{
if (irq_type == IRQ_READ)
- return EPOLLIN | EPOLLPRI;
+ return EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP | EPOLLRDHUP;
if (irq_type == IRQ_WRITE)
return EPOLLOUT;
return 0;