- PCPU_ADD is no longer spelled with LAZY_ in the middle.

Submitted by:	attilio
This commit is contained in:
Jeff Roberson 2007-06-06 23:23:47 +00:00
parent f9a41a1101
commit 4736604759

View File

@ -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))