diff mbox

[1/8] mm: kmemleak: remove unused hardirq.h

Message ID 1510959741-31109-1-git-send-email-yang.s@alibaba-inc.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yang Shi Nov. 17, 2017, 11:02 p.m. UTC
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.

Signed-off-by: Yang Shi <yang.s@alibaba-inc.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
---
 mm/kmemleak.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index 7780cd8..25b977f 100644
--- a/mm/kmemleak.c
+++ b/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>