]> git.baikalelectronics.ru Git - kernel.git/commit
mm/init-mm.c: include <linux/mman.h> for vm_committed_as_batch
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Sat, 19 Oct 2019 03:20:24 +0000 (20:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 19 Oct 2019 10:32:32 +0000 (06:32 -0400)
commitfdab3b0bd1bda58938b3fc59d3729fb3fe95ada2
treefcb333a074f57aa109f03f21e81e4d4d6bede6d1
parentad20f04a3d3beb68f80a319a1cb3a6a8312f5c47
mm/init-mm.c: include <linux/mman.h> for vm_committed_as_batch

mm_init.c needs to include <linux/mman.h> 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 <ben.dooks@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/init-mm.c