From: Yang Shi Date: Thu, 1 Feb 2018 00:16:34 +0000 (-0800) Subject: mm/filemap.c: remove include of hardirq.h X-Git-Tag: v4.16-rc1~122^2~78 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2b9fceb3b47b7c44fb04eef068f441e7b18daa68;p=users%2Fhch%2Fmisc.git 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 Reviewed-by: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/filemap.c b/mm/filemap.c index ee83baaf855d..693f62212a59 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -31,7 +31,6 @@ #include #include #include -#include /* for BUG_ON(!in_atomic()) only */ #include #include #include