aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-12 18:03:05 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 21:54:16 -0500
commit886d3dfa85d5aa6f11813c319e50f5402c7cf4e4 (patch)
tree312aac349d03de3dd49974227661f592c8bedaa7 /lib
parent7f1ce3c86411f5b836f84358e2fc4e225c7e145e (diff)
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/radix-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index 3291a8e37490..3d2aa27b845b 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -33,7 +33,7 @@
33#include <linux/string.h> 33#include <linux/string.h>
34#include <linux/bitops.h> 34#include <linux/bitops.h>
35#include <linux/rcupdate.h> 35#include <linux/rcupdate.h>
36#include <linux/hardirq.h> /* in_interrupt() */ 36#include <linux/preempt_mask.h> /* in_interrupt() */
37 37
38 38
39/* 39/*