in_atomic(): document why it is unsuitable for general use
authorJonathan Corbet <corbet@lwn.net>
Fri, 28 Mar 2008 21:15:49 +0000 (14:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Mar 2008 21:45:21 +0000 (14:45 -0700)
commit8c703d35fa91911dd92a18c31a718853f483ad80
tree13b63c9754ad202cc7f4528ee94c7c54f3f88bba
parentf67e74ca690d9f168cc468b7d714caad492740a6
in_atomic(): document why it is unsuitable for general use

Discourage people from inappropriately using in_atomic()

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hardirq.h