mm: fix implicit stat.h usage in dmapool.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 16 Oct 2011 06:03:46 +0000 (02:03 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 13:20:12 +0000 (09:20 -0400)
The removal of the implicitly everywhere module.h and its child includes
will reveal this implicit stat.h usage:

mm/dmapool.c:108: error: ‘S_IRUGO’ undeclared here (not in a function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
mm/dmapool.c

index 096530690d8db5fa61ce16d844db5b4c2fed843e..c5ab33bca0a8183bffc1b00e92583b5514d45c96 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/poison.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
+#include <linux/stat.h>
 #include <linux/spinlock.h>
 #include <linux/string.h>
 #include <linux/types.h>