diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2026-04-16 22:37:01 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2026-04-16 22:37:01 +0000 |
| commit | a249ddf07873be97967dd83df4d098ea95d0c92a (patch) | |
| tree | df16c76b263759b9f2903f42942e3c98fe231aba | |
| parent | 603a29b9b3126763c934afbed64fc43bf539469b (diff) | |
powerpc/intr setup: Don't check intr name for IPI
Since whether or not the irq is an IPI is passed into
powerpc_setup_intr_int(), use this as the check for IPI instead of
checking the name string.
| -rw-r--r-- | sys/powerpc/powerpc/intr_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powerpc/intr_machdep.c b/sys/powerpc/powerpc/intr_machdep.c index daab391bb800..7e742845dbd3 100644 --- a/sys/powerpc/powerpc/intr_machdep.c +++ b/sys/powerpc/powerpc/intr_machdep.c @@ -537,7 +537,7 @@ powerpc_setup_intr_int(const char *name, u_int irq, driver_filter_t filter, if (error) return (error); i->pi_domain = domain; - if (strcmp(name, "IPI") != 0) { + if (ipi) { CPU_ZERO(&i->pi_cpuset); CPU_COPY(&cpuset_domain[domain], &i->pi_cpuset); } |
