git: a249ddf07873 - main - powerpc/intr setup: Don't check intr name for IPI
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Apr 2026 22:39:56 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=a249ddf07873be97967dd83df4d098ea95d0c92a
commit a249ddf07873be97967dd83df4d098ea95d0c92a
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2026-04-16 22:37:01 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
CommitDate: 2026-04-16 22:37:01 +0000
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.
---
sys/powerpc/powerpc/intr_machdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}