summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-16 02:03:46 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 09:20:12 -0400
commit7c77509c542927ee2a3c8812fad84957e51bf67d (patch)
treedf2d80be6ddf42b529ea4814b20010cbc036ea55
parentb95f1b31b75588306e32b2afd32166cad48f670b (diff)
downloadlwn-7c77509c542927ee2a3c8812fad84957e51bf67d.tar.gz
lwn-7c77509c542927ee2a3c8812fad84957e51bf67d.zip
mm: fix implicit stat.h usage in dmapool.c
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>
-rw-r--r--mm/dmapool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/dmapool.c b/mm/dmapool.c
index 096530690d8d..c5ab33bca0a8 100644
--- a/mm/dmapool.c
+++ b/mm/dmapool.c
@@ -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>