Pull the logic to get the "lock" for TLB shooting into
authorguenther <guenther@openbsd.org>
Mon, 10 May 2021 00:52:15 +0000 (00:52 +0000)
committerguenther <guenther@openbsd.org>
Mon, 10 May 2021 00:52:15 +0000 (00:52 +0000)
commit58a7b20762adc5c977a7b6293bd1ab16c13bfaff
tree9df71acd75874d4ade4881b8fb4c8284d598f30c
parenta3b8ef658ea40424e94905915b454b8102d7973a
Pull the logic to get the "lock" for TLB shooting into
pmap_start_tlb_shoot(), to get the #ifdef goo out of
pmap_tlb_shoot{page,range,tlb}()

Use a normal do{}while(0) when nooping pmap_tlb_shootwait()

tweak and ok kettenis@
sys/arch/amd64/amd64/pmap.c