HomeFreeBSD

amd64 pmap.h: make it easier to use the header for other consumers

Description

amd64 pmap.h: make it easier to use the header for other consumers

Guard pmap_invlpg() definition with checks that only provide it when
both sys/pcpu.h and machine/cpufunc.h were already included.

Requested by: Elliott Mitchell
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Jan 4 2023, 10:31 AM
Parents
rGa2c08eba43a2: amd64: be more precise when enabling the AlderLake small core PCID workaround
Branches
Unknown
Tags
Unknown