mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
amd64 pcpu.h: Add missing 'do' from do-while loop around __PCPU_SET.
Reported by: mjg Diagnosed by: jrtc27
This commit is contained in:
parent
5a50d52f11
commit
2596008a0b
1 changed files with 1 additions and 1 deletions
|
|
@ -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; \
|
||||
\
|
||||
|
|
|
|||
Loading…
Reference in a new issue