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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user