git: d326ee6e9826 - stable/15 - x86/mp_x86.c: unbreak COUNT_IPIS

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Wed, 04 Nov 2026 13:34:23 UTC
The branch stable/15 has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=d326ee6e982671ce8ee47b5080c6fa42a78b07fc

commit d326ee6e982671ce8ee47b5080c6fa42a78b07fc
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-10-20 20:42:00 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-11-04 13:33:50 +0000

    x86/mp_x86.c: unbreak COUNT_IPIS
    
    Fixes:  3a0e2ca3eecd ("x86: ipi_bitmap_handler(): Account for IPIs correctly on COUNT_IPIS")
    
    (cherry picked from commit 40582412d3fc6c68bb5c90fa7878998ba7f799e3)
---
 sys/x86/x86/mp_x86.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c
index 6e07b1eebe36..4d223287fb47 100644
--- a/sys/x86/x86/mp_x86.c
+++ b/sys/x86/x86/mp_x86.c
@@ -1349,9 +1349,9 @@ ipi_bitmap_handler(struct trapframe *frame)
 	td->td_intr_frame = frame;
 
 #ifdef COUNT_IPIS
-	if (ipi_bitmap & (1 << IPI_AST)) {
+	if (ipi_bitmap & (1 << IPI_AST))
 		(*ipi_ast_counts[cpu])++;
-	if (ipi_bitmap & (1 << IPI_HARDCLOCK)) {
+	if (ipi_bitmap & (1 << IPI_HARDCLOCK))
 		(*ipi_hardclock_counts[cpu])++;
 	if (ipi_bitmap & (1 << IPI_PREEMPT))
 		(*ipi_preempt_counts[cpu])++;