From: Ben Dooks (Codethink) Date: Sat, 19 Oct 2019 03:20:24 +0000 (-0700) Subject: mm/init-mm.c: include for vm_committed_as_batch X-Git-Tag: Ubuntu-5.13.0-19.19~7454^2~6 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a2ae8c0551050cbf3232fbb3d963a9bbe7b57268;p=mirror_ubuntu-jammy-kernel.git mm/init-mm.c: include for vm_committed_as_batch mm_init.c needs to include for the definition of vm_committed_as_batch. Fixes the following sparse warning: mm/mm_init.c:141:5: warning: symbol 'vm_committed_as_batch' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20191016091509.26708-1-ben.dooks@codethink.co.uk Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/init-mm.c b/mm/init-mm.c index fb1e15028ef0..19603302a77f 100644 --- a/mm/init-mm.c +++ b/mm/init-mm.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include