HomeFreeBSD

amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h

Description

amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h

Include sys/pcpu in vmm_host.h as its structs and functions are used
there, and add a forward declaration of struct pcpu to md_var.h as it
is used in some function prototypes.

Reviewed by: corvink, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D51550

Details

Provenance
rosenfeld_grumpf.hope-2000.orgAuthored on Jan 24 2026, 1:29 AM
markjCommitted on Jan 24 2026, 1:29 AM
Reviewer
corvink
Differential Revision
D51550: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h
Parents
rGf3de667137e9: netinet6: free in6_ifextra with epoch_call(9)
Branches
Unknown
Tags
Unknown