Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2026 20:07:40 +0000
From:      Ryan Libby <rlibby@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 29d15d658d17 - main - i386: provide PCPU pc_small_core for amd64 compat
Message-ID:  <6a5d2e8c.4504a.7ed7f2c1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by rlibby:

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

commit 29d15d658d175139196d821b123c30a5b58e135e
Author:     Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-07-19 20:05:58 +0000
Commit:     Ryan Libby <rlibby@FreeBSD.org>
CommitDate: 2026-07-19 20:05:59 +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
---
 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 1300494e1ab7..594204abf02d 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
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a5d2e8c.4504a.7ed7f2c1>