git: f02f552ad788 - stable/15 - i386: provide PCPU pc_small_core for amd64 compat

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Fri, 24 Jul 2026 04:35:15 UTC
The branch stable/15 has been updated by olce:

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

commit f02f552ad788f6936e82e209f7c695655fea478b
Author:     Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-07-19 20:05:58 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-07-24 04:33:39 +0000

    i386: provide PCPU pc_small_core for amd64 compat
    
    Provide pc_small_core for i386 too to fix an i386 build break from x86
    code referring to it.  It won't be set.
    
    Reviewed by:    aokblast, kib
    Fixes:  7b26353a59d6 ("hwpstate_intel: Disable package control on hybrid CPU")
    Differential Revision:  https://reviews.freebsd.org/D58335
    
    (cherry picked from commit 29d15d658d175139196d821b123c30a5b58e135e)
---
 sys/i386/include/pcpu.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/i386/include/pcpu.h b/sys/i386/include/pcpu.h
index d51763b20798..c8ed4b0d2126 100644
--- a/sys/i386/include/pcpu.h
+++ b/sys/i386/include/pcpu.h
@@ -86,7 +86,8 @@ _Static_assert(sizeof(struct monitorbuf) == 128, "2x cache line");
 	uint32_t pc_pad[4];						\
 	uint8_t	pc_mds_tmp[64];						\
 	u_int	pc_ipi_bitmap;						\
-	char	__pad[3518]
+	u_int	pc_small_core;						\
+	char	__pad[3514]
 
 #ifdef _KERNEL