projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95f1b3
)
mm: fix implicit stat.h usage in dmapool.c
author
Paul Gortmaker
<paul.gortmaker@windriver.com>
Sun, 16 Oct 2011 06:03:46 +0000
(
02:03
-0400)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/mm/dmapool.c
b/mm/dmapool.c
index 096530690d8db5fa61ce16d844db5b4c2fed843e..c5ab33bca0a8183bffc1b00e92583b5514d45c96 100644
(file)
--- 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>