OSDN Git Service

lib/radix-tree.c: change to simpler include
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 12 Feb 2015 23:03:05 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Feb 2015 02:54:16 +0000 (18:54 -0800)
commit886d3dfa85d5aa6f11813c319e50f5402c7cf4e4
tree312aac349d03de3dd49974227661f592c8bedaa7
parent7f1ce3c86411f5b836f84358e2fc4e225c7e145e
lib/radix-tree.c: change to simpler include

The comment helpfully explains why hardirq.h is included, but since
commit 2d4b84739f0a ("hardirq: Split preempt count mask definitions")
in_interrupt() has been provided by preempt_mask.h.  Use that instead,
saving around 40 lines in the generated dependency file.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/radix-tree.c