Skip to contentSkip to conversation

mm-filemap-remove-include-of-hardirqh.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 1, 2018

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/filemap.c: remove include of hardirq.h
has been removed from the -mm tree. Its filename was
mm-filemap-remove-include-of-hardirqh.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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.

---

 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
diff -puN mm/filemap.c~mm-filemap-remove-include-of-hardirqh 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>

_

Patches currently in -mm which might be from [email protected] are