summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-12 15:03:05 -0800
committerSasha Levin <sasha.levin@oracle.com>2015-11-13 14:14:45 -0500
commitc1128a8218b2e60e299944ce0b5c2e307ac2c7c9 (patch)
tree76e863db5321b37a12b3caecc41f1991b8efea3b /lib
parent0f9d268d33632ff869d2ebaab2631fd23de7212e (diff)
downloadlinux-stable-c1128a8218b2e60e299944ce0b5c2e307ac2c7c9.tar.gz
linux-stable-c1128a8218b2e60e299944ce0b5c2e307ac2c7c9.tar.bz2
linux-stable-c1128a8218b2e60e299944ce0b5c2e307ac2c7c9.zip
lib/radix-tree.c: change to simpler include
[ Upstream commit 886d3dfa85d5aa6f11813c319e50f5402c7cf4e4 ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
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 @@
#include <linux/string.h>
#include <linux/bitops.h>
#include <linux/rcupdate.h>
-#include <linux/hardirq.h> /* in_interrupt() */
+#include <linux/preempt_mask.h> /* in_interrupt() */
/*