Skip to content

Commit 2b9fceb

Browse files
Yang Shitorvalds
authored andcommitted
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. Link: http://lkml.kernel.org/r/1509985319-38633-1-git-send-email-yang.s@alibaba-inc.com Signed-off-by: Yang Shi <yang.s@alibaba-inc.com> Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 80b1f41 commit 2b9fceb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mm/filemap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include <linux/blkdev.h>
3232
#include <linux/security.h>
3333
#include <linux/cpuset.h>
34-
#include <linux/hardirq.h> /* for BUG_ON(!in_atomic()) only */
3534
#include <linux/hugetlb.h>
3635
#include <linux/memcontrol.h>
3736
#include <linux/cleancache.h>

0 commit comments

Comments
 (0)