aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/intr.h
diff options
context:
space:
mode:
authorMichal Meloun <mmel@FreeBSD.org>2020-11-07 14:58:01 +0000
committerMichal Meloun <mmel@FreeBSD.org>2020-11-07 14:58:01 +0000
commiteb20867f52aceec762492c6b1529b6165c0c9799 (patch)
tree7a790b1d1e0e81d92d9d5424ac37ca04bb346362 /sys/sys/intr.h
parentda45ea6bc6c7c15b4839e7e83ae8810b4c250c33 (diff)
downloadsrc-eb20867f52aceec762492c6b1529b6165c0c9799.tar.gz
src-eb20867f52aceec762492c6b1529b6165c0c9799.zip
Add a method to determine whether given interrupt is per CPU or not.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=367447
Diffstat (limited to 'sys/sys/intr.h')
-rw-r--r--sys/sys/intr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/intr.h b/sys/sys/intr.h
index 5c3b55f70107..5e305e719e10 100644
--- a/sys/sys/intr.h
+++ b/sys/sys/intr.h
@@ -115,6 +115,7 @@ int intr_pic_deregister(device_t, intptr_t);
int intr_pic_claim_root(device_t, intptr_t, intr_irq_filter_t *, void *, u_int);
struct intr_pic *intr_pic_add_handler(device_t, struct intr_pic *,
intr_child_irq_filter_t *, void *, uintptr_t, uintptr_t);
+bool intr_is_per_cpu(struct resource *);
extern device_t intr_irq_root_dev;