checkpatch: make in_atomic ok in the core
authorAndy Whitcroft <apw@canonical.com>
Fri, 27 Feb 2009 22:03:05 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Feb 2009 00:26:21 +0000 (16:26 -0800)
commitf4a8773676c21a68b0666fbe48af4fe1af89dfa9
tree1ae344b48e791f3abf9310ec71bb15ddd72b2ae1
parentcbb766766f3f2f6d9326c561b1020590642c6e39
checkpatch: make in_atomic ok in the core

We say that in_atomic() is ok in the core kernel, but then always report
it regardless of where in the kernel it is.  Keep quiet if it is used in
kernel/*.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl