+ mm-include-linux-mmanh-for-vm_committed_as_batch.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/init-mm.c: include <linux/mman.h> for vm_committed_as_batch
has been added to the -mm tree.  Its filename is
     mm-include-linux-mmanh-for-vm_committed_as_batch.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-include-linux-mmanh-for-vm_committed_as_batch.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-include-linux-mmanh-for-vm_committed_as_batch.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: "Ben Dooks (Codethink)" <ben.dooks@xxxxxxxxxxxxxxx>
Subject: 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@xxxxxxxxxxxxxxx
Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/init-mm.c |    1 +
 1 file changed, 1 insertion(+)

--- a/mm/init-mm.c~mm-include-linux-mmanh-for-vm_committed_as_batch
+++ a/mm/init-mm.c
@@ -5,6 +5,7 @@
 #include <linux/spinlock.h>
 #include <linux/list.h>
 #include <linux/cpumask.h>
+#include <linux/mman.h>
 
 #include <linux/atomic.h>
 #include <linux/user_namespace.h>
_

Patches currently in -mm which might be from ben.dooks@xxxxxxxxxxxxxxx are

mm-include-linux-huge_mmh-for-is_vma_temporary_stack.patch
mm-include-linux-ramfsh-for-generic_file_vm_ops-definition.patch
mm-include-linux-mmanh-for-vm_committed_as_batch.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux