summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-7c77509c542927ee2a3c8812fad84957e51bf67d.zip
op-kernel-dev-7c77509c542927ee2a3c8812fad84957e51bf67d.tar.gz
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 0965306..c5ab33b 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>
OpenPOWER on IntegriCloud