amd64 pcpu.h: Add missing 'do' from do-while loop around __PCPU_SET.

Reported by:	mjg
Diagnosed by:	jrtc27
This commit is contained in:
John Baldwin 2023-07-08 12:59:26 -07:00
parent 5a50d52f11
commit 2596008a0b

View file

@ -163,7 +163,7 @@ _Static_assert(sizeof(struct monitorbuf) == 128, "2x cache line");
/*
* Sets the value of the per-cpu variable name to value val.
*/
#define __PCPU_SET(name, val) { \
#define __PCPU_SET(name, val) do { \
static struct pcpu __seg_gs *__pc = 0; \
__pcpu_type(name) __val; \
\