diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-03-24 05:59:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-03 06:23:01 -0400 |
commit | 255d11bc910fd38153156a0c5ebb256657290882 (patch) | |
tree | e9ead95073fdd4d9be6be8ce17316b3039187c8b /mm | |
parent | e65a1b7c390a72fbcefb2639e255fb7f145538d3 (diff) |
kmemtrace, mm: fix slab.h dependency problem in mm/failslab.c
Impact: cleanup
mm/failslab.c depends on slab.h without including it:
CC mm/failslab.o
mm/failslab.c: In function ‘should_failslab’:
mm/failslab.c:16: error: ‘__GFP_NOFAIL’ undeclared (first use in this function)
mm/failslab.c:16: error: (Each undeclared identifier is reported only once
mm/failslab.c:16: error: for each function it appears in.)
mm/failslab.c:19: error: ‘__GFP_WAIT’ undeclared (first use in this function)
make[1]: *** [mm/failslab.o] Error 1
make: *** [mm] Error 2
It gets included implicitly currently - but this will not be the
case with upcoming kmemtrace changes.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
LKML-Reference: <1237888761.25315.69.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/failslab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/failslab.c b/mm/failslab.c index 7c6ea6493f80..9339de5f0a91 100644 --- a/mm/failslab.c +++ b/mm/failslab.c | |||
@@ -1,4 +1,5 @@ | |||
1 | #include <linux/fault-inject.h> | 1 | #include <linux/fault-inject.h> |
2 | #include <linux/gfp.h> | ||
2 | 3 | ||
3 | static struct { | 4 | static struct { |
4 | struct fault_attr attr; | 5 | struct fault_attr attr; |