HomeFreeBSD

counter(9): unbreak amd64 following r336020

Description

counter(9): unbreak amd64 following r336020

Apply temporary fix to counter until daylight hours.
The fact that the assembly for counter_u64_add relied on the sizeof(struct pcpu) was
the basis for the otherwise arbitrary offset never came up in D15933.
critical_{enter,exit} is now inline so the only real added overhead is the
added (mostly false) conditional branch in exit.

Details

Provenance
mmacyAuthored on
Parents
rS336023: Correct breakage on 32-bit platforms from r335979.
Branches
Unknown
Tags
Unknown