提交 34a866bd 编写于 作者: B Bartosz Golaszewski 提交者: Thomas Gleixner

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: NBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/20180304121018.640-2-brgl@bgdev.pl
上级 d61e2944
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* option) any later version. * option) any later version.
*/ */
#include <linux/slab.h>
#include <linux/irq_sim.h> #include <linux/irq_sim.h>
#include <linux/irq.h> #include <linux/irq.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册