mm/filemap.c: remove include of hardirq.h
Subsystems (2)
[email protected]
maintainerPATCH 41/119 mm/filemap.c: remove include of hardirq.h
From: "Yang Shi" <[email protected]>
Subject: mm/filemap.c: remove include of hardirq.h
in_atomic() has been moved to include/linux/preempt.h, and the filemap.c doesn't use in_atomic() directly at all, so it sounds unnecessary to include hardirq.h.
Signed-off-by Yang Shi <[email protected]>
Reviewed-by Matthew Wilcox <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/filemap.c | 1 - 1 file changed, 1 deletion(-)
mm/filemap.c renamed from mm/filemap.c~mm-filemap-remove-include-of-hardirqh +0 -1
@@ -31,7 +31,6 @@#include <linux/blkdev.h> #include <linux/security.h> #include <linux/cpuset.h> -#include <linux/hardirq.h> /* for BUG_ON(!in_atomic()) only */ #include <linux/hugetlb.h> #include <linux/memcontrol.h> #include <linux/cleancache.h>
_