Skip to content

Commit

Permalink
genirq/irq_sim: Explicitly include slab.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Bartosz Golaszewski authored and Thomas Gleixner committed Mar 9, 2018
1 parent d61e294 commit 34a866b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/irq/irq_sim.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* option) any later version.
*/

#include <linux/slab.h>
#include <linux/irq_sim.h>
#include <linux/irq.h>

Expand Down

0 comments on commit 34a866b

Please sign in to comment.