fix build for glibc prior to 2.33

Signed-off-by: Alexander Fougner <fougner89@gmail.com>
This commit is contained in:
Alexander Fougner 2023-12-07 21:27:16 +01:00
parent 262e548a84
commit 244046945a

View File

@ -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))