[tip:irq/core] genirq/irq_sim: Explicitly include slab.h

From: tip-bot for Bartosz Golaszewski
Date: Fri Mar 09 2018 - 05:49:08 EST


Commit-ID: 34a866bd45d69754da1979e83a37bec6defc6295
Gitweb: https://git.kernel.org/tip/34a866bd45d69754da1979e83a37bec6defc6295
Author: Bartosz Golaszewski <brgl@xxxxxxxx>
AuthorDate: Sun, 4 Mar 2018 13:10:16 +0100
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Fri, 9 Mar 2018 11:44:03 +0100

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@xxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
Link: https://lkml.kernel.org/r/20180304121018.640-2-brgl@xxxxxxxx

---
kernel/irq/irq_sim.c | 1 +
1 file changed, 1 insertion(+)

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>