mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]>
Cc: Eduard - Gabriel Munteanu <[email protected]>
LKML-Reference: <1237888761.25315.69.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
e65a1b7c39
commit
255d11bc91
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include <linux/fault-inject.h>
|
||||
#include <linux/gfp.h>
|
||||
|
||||
static struct {
|
||||
struct fault_attr attr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue