The branch main has been updated by netchild:

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

commit 9c8bcdddb35e9a3c70f65748ecc784bb400dfa38
Author:     Alexander Leidinger <[email protected]>
AuthorDate: 2026-08-22 07:59:04 +0000
Commit:     Alexander Leidinger <[email protected]>
CommitDate: 2026-08-23 08:09:44 +0000

    hwpmc: build hwpmc_rapl.c into the i386 module
    
    The module's i386 source list compiles the files that call
    pmc_rapl_initialize() and pmc_rapl_finalize() but not the one that defines
    them, so the i386 hwpmc.ko has both undefined and cannot be loaded.
    
    Fixes:          a99d04f39dab ("hwpmc: add RAPL energy-counter class (AMD + 
Intel)")
    Assisted-by:    Claude Code (Opus 5)
---
 sys/modules/hwpmc/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile
index 7d8918c862f8..39ce7be9884e 100644
--- a/sys/modules/hwpmc/Makefile
+++ b/sys/modules/hwpmc/Makefile
@@ -38,6 +38,7 @@ SRCS+=        hwpmc_amd.c \
        hwpmc_core.c \
        hwpmc_ibs.c \
        hwpmc_intel.c \
+       hwpmc_rapl.c \
        hwpmc_tsc.c \
        hwpmc_uncore.c \
        hwpmc_x86.c

Reply via email to