aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Meloun <mmel@FreeBSD.org>2020-12-14 10:14:32 +0000
committerMichal Meloun <mmel@FreeBSD.org>2020-12-14 10:14:32 +0000
commitdcdeab25db7ca1526c4be4e9bd8cff3d6934940f (patch)
tree7f68ec302dc13b02e1ae3c62236dfdc74837f9f4
parentc73fde307204392c25a0d3d664278321ec65aa3c (diff)
downloadsrc-dcdeab25db7ca1526c4be4e9bd8cff3d6934940f.tar.gz
src-dcdeab25db7ca1526c4be4e9bd8cff3d6934940f.zip
MFC r367865:
Also pass interrupt binding request to non-root interrupt controllers. There are message based controllers that can bind interrupts even if they are not implemented as root controllers (such as the ITS subblock of GIC).
Notes
Notes: svn path=/stable/12/; revision=368629
-rw-r--r--sys/kern/subr_intr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_intr.c b/sys/kern/subr_intr.c
index e1431d55d9d3..76bd6c110f20 100644
--- a/sys/kern/subr_intr.c
+++ b/sys/kern/subr_intr.c
@@ -575,9 +575,6 @@ intr_isrc_assign_cpu(void *arg, int cpu)
struct intr_irqsrc *isrc = arg;
int error;
- if (isrc->isrc_dev != intr_irq_root_dev)
- return (EINVAL);
-
mtx_lock(&isrc_table_lock);
if (cpu == NOCPU) {
CPU_ZERO(&isrc->isrc_cpu);