mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
- PCPU_ADD is no longer spelled with LAZY_ in the middle.
Submitted by: attilio
This commit is contained in:
parent
f9a41a1101
commit
4736604759
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170388
@ -58,7 +58,7 @@ extern struct pcpu __pcpu;
|
||||
* with respect to preemption.
|
||||
*/
|
||||
#define PCPU_ADD(member, value) (__pcpu.pc_ ## member += (value))
|
||||
#define PCPU_INC(member) PCPU_LAZY_ADD(member, 1)
|
||||
#define PCPU_INC(member) PCPU_ADD(member, 1)
|
||||
#define PCPU_PTR(member) (&__pcpu.pc_ ## member)
|
||||
#define PCPU_SET(member,value) (__pcpu.pc_ ## member = (value))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user