Skip to contentSkip to conversation

mm: kmemleak: remove unused hardirq.h

PATCH In review [email protected] 1 participant 1 message Feb 1, 2018

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 31/119 mm: kmemleak: remove unused hardirq.h

From: "Yang Shi" <[email protected]>
Subject: mm: kmemleak: remove unused hardirq.h

Preempt counter APIs have been split out, currently, hardirq.h just includes irq_enter/exit APIs which are not used by kmemleak at all.

So, remove the unused hardirq.h.

---

 mm/kmemleak.c |    1 -
 1 file changed, 1 deletion(-)
mm/kmemleak.c renamed from mm/kmemleak.c~mm-kmemleak-remove-unused-hardirqh +0 -1
diff -puN mm/kmemleak.c~mm-kmemleak-remove-unused-hardirqh mm/kmemleak.c
@@ -91,7 +91,6 @@
 #include <linux/stacktrace.h>
 #include <linux/cache.h>
 #include <linux/percpu.h>
-#include <linux/hardirq.h>
 #include <linux/bootmem.h>
 #include <linux/pfn.h>
 #include <linux/mmzone.h>

_