summaryrefslogtreecommitdiff
path: root/kernel/irq
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2018-03-04 13:10:16 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-03-09 11:44:03 +0100
commit34a866bd45d69754da1979e83a37bec6defc6295 (patch)
tree169224209625c1bb5dd6b86a48384fdbf19855a2 /kernel/irq
parentd61e2944b6364006e3d7a0152aaafda741c8c876 (diff)
genirq/irq_sim: Explicitly include slab.h
kfree() is used in the irq_sim code but slab.h is pulled in indirectly via irq.h. Include it explicitly. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <marc.zyngier@arm.com> Link: https://lkml.kernel.org/r/20180304121018.640-2-brgl@bgdev.pl
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/irq_sim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/irq_sim.c b/kernel/irq/irq_sim.c
index 24caabf1a0f7..bd7dc1db6a80 100644
--- a/kernel/irq/irq_sim.c
+++ b/kernel/irq/irq_sim.c
@@ -7,6 +7,7 @@
* option) any later version.
*/
+#include <linux/slab.h>
#include <linux/irq_sim.h>
#include <linux/irq.h>