mm: filemap: remove include of hardirq.h
Subsystems (2)
PATCH v2 1/1 mm: filemap: 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.
---
v1 --> v2:
* Removed the wrong message about kernel size change
mm/filemap.c | 1 - 1 file changed, 1 deletion(-)
mm/filemap.c +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>
Signature · 7 lines
1.8.3.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Hi folks,
Any comment on this patch? The quick build test passed on the latest Linus's tree.
Thanks,
Yang
Quoted 18 lines · Yang Shi
in_atomic()has been moved toinclude/linux/preempt.h, and thefilemap.cdoesn't usein_atomic()directly at all, so it sounds unnecessary to includehardirq.h.Signed-off-by Yang Shi <[email protected]>---
v1 --> v2:
* Removed the wrong message about kernel size changemm/filemap.c | 1 - 1 file changed, 1 deletion(-)mm/filemap.c +0
-0
mm/filemap.c line 36
Quoted 7 lines
mm/filemap.c +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>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 4 lines · Yang Shi
Hi folks,
Any comment on this patch? The quick build test passed on the latest Linus's tree.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>