Synopsis
long ctl_atomic_increment(long *p);
Description

ctl_atomic_increment increments the long pointed to by p and returns the new value of the object. The increment is performed with global interrupts disabled.

Return Value

The value of the newly incremented object.