]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64 pmap.h: make it easier to use the header for other consumers
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 4 Jan 2023 10:31:16 +0000 (12:31 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 5 Jan 2023 23:30:29 +0000 (01:30 +0200)
commitad97b9bbfccdb36f17788033903b1dbf508fcb96
treec7ade85c74f0b155249a9fb9a9c2ff2b4e897621
parenta2c08eba43a2c0ebeac7117f708fb9392022a300
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
sys/amd64/include/pmap.h