1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

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.
This commit is contained in:
Justin Hibbits
2026-04-16 18:37:01 -04:00
parent 603a29b9b3
commit a249ddf078
+1 -1
View File
@@ -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);
}