diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-03-31 02:51:33 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-03-31 02:51:33 +0200 |
commit | 277a12ea4dd1c635b0719e2d4d0204655fd53691 (patch) | |
tree | e72b0d1aa15dbe7bd70b1fb2ad25c3f47dbc9fc8 /device | |
parent | 1c02564abe7cea7d2fc6df82aeecce5bb6b0d93a (diff) | |
download | gnumach-277a12ea4dd1c635b0719e2d4d0204655fd53691.tar.gz gnumach-277a12ea4dd1c635b0719e2d4d0204655fd53691.tar.bz2 gnumach-277a12ea4dd1c635b0719e2d4d0204655fd53691.zip |
intr: Always share irqs
We currently already always assume that irqs user handlers can be shared
* device/intr.c (install_user_intr_handler): Add SA_SHIRQ to flags.
Diffstat (limited to 'device')
-rw-r--r-- | device/intr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/device/intr.c b/device/intr.c index ac213ecf..01a382df 100644 --- a/device/intr.c +++ b/device/intr.c @@ -193,6 +193,8 @@ install_user_intr_handler (struct irqdev *dev, int id, unsigned long flags, struct intr_list *new, *old = *head; spl_t s; + flags |= SA_SHIRQ; + assert (irq < NINTR); /* Don't allow overriding hardclock/kdintr etc */ |