aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2026-07-19 20:05:58 +0000
committerRyan Libby <rlibby@FreeBSD.org>2026-07-19 20:05:59 +0000
commit29d15d658d175139196d821b123c30a5b58e135e (patch)
tree856b460927633beb6eac8171dd3afc28c2a50bd2
parentb0c14eae10609f7d688b31d112de2a641d9cc516 (diff)
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
-rw-r--r--sys/i386/include/pcpu.h3
1 files changed, 2 insertions, 1 deletions
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