]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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)
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

index 3291a8e37490ecc9d9221f389d26d02c0ae1f103..3d2aa27b845b53f9e281e7bf5b7a080fd24c5bbb 100644 (file)
@@ -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() */
 
 
 /*