diff options
author | Alexander Fougner <fougner89@gmail.com> | 2023-12-07 21:27:16 +0100 |
---|---|---|
committer | Alexander Fougner <fougner89@gmail.com> | 2023-12-07 21:36:47 +0100 |
commit | 244046945aa2e256a8702ceba50608028f58be43 (patch) | |
tree | c84a890b01fd8837137958b53b4999fe2d0ad037 | |
parent | 262e548a84bbdf0a4ad362ff27d83066e5c3e5b3 (diff) |
fix build for glibc prior to 2.33
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
-rw-r--r-- | linux/shrinker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/shrinker.c b/linux/shrinker.c index 361196ac..91f633b5 100644 --- a/linux/shrinker.c +++ b/linux/shrinker.c @@ -69,7 +69,7 @@ void run_shrinkers(gfp_t gfp_mask, bool allocation_failed) { struct shrinker *shrinker; struct sysinfo info; - struct mallinfo2 malloc_info = mallinfo2(); + struct mallinfo malloc_info = mallinfo(); s64 want_shrink; if (!(gfp_mask & GFP_KERNEL)) |