diff options
author | Yang Shi <yang.s@alibaba-inc.com> | 2018-01-31 16:16:34 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-31 17:18:36 -0800 |
commit | 2b9fceb3b47b7c44fb04eef068f441e7b18daa68 (patch) | |
tree | b169a4c42320c9f3bf74c4fa02f39a8247a950d9 /mm | |
parent | 80b1f41c0957a9da3bab4fb9ae76dc886753a59b (diff) | |
download | op-kernel-dev-2b9fceb3b47b7c44fb04eef068f441e7b18daa68.zip op-kernel-dev-2b9fceb3b47b7c44fb04eef068f441e7b18daa68.tar.gz |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index ee83baa..693f622 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -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> |