diff options
author | T.J. Mercier <[email protected]> | 2022-11-14 23:59:49 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-30 15:58:55 -0800 |
commit | b7217a0bbe00a98a8f4b15ebc2a8355a31a59e1e (patch) | |
tree | 1b32892b8c6a1d079d466fb0a40ce36783fa6ae9 /lib/mpi/mpi-mod.c | |
parent | 369258ce41c6d7663a7b6d509356fecad577378d (diff) |
mm: shrinkers: add missing includes for undeclared types
The shrinker.h header depends on a user including other headers before it
for types used by shrinker.h. Fix this by including the appropriate
headers in shrinker.h.
./include/linux/shrinker.h:13:9: error: unknown type name `gfp_t'
13 | gfp_t gfp_mask;
| ^~~~~
./include/linux/shrinker.h:71:26: error: field `list' has incomplete type
71 | struct list_head list;
| ^~~~
./include/linux/shrinker.h:82:9: error: unknown type name `atomic_long_t'
82 | atomic_long_t *nr_deferred;
|
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 83aeeada7c69 ("vmscan: use atomic-long for shrinker batching")
Fixes: b0d40c92adaf ("superblock: introduce per-sb cache shrinker infrastructure")
Signed-off-by: T.J. Mercier <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions