Skip to content
Browse files

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 <>
  • Loading branch information...
1 parent b95f1b3 commit 7c77509c542927ee2a3c8812fad84957e51bf67d @paulgortmaker paulgortmaker committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 mm/dmapool.c
1 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>

0 comments on commit 7c77509

Please sign in to comment.
Something went wrong with that request. Please try again.