+ ++lock->count; \ <<<<<<<<<<<<<<<<<<<<<<
> lock->pid = getpid(); \
> }
>
> #define nested_unlock(lock, flags) \
> if (--lock->count == 0) { \
> lock->pid = 0; \
> spin_unlock_irqrestore(&lock->lock, flags); \
> }
>
Ops !
-- "Debian, the Freedom in Freedom."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/