All of lore.kernel.org
 help / color / mirror / Atom feed
* - mm-sparse-vmemmapc-make-sure-init_mm-is-included.patch removed from -mm tree
@ 2007-10-30 18:06 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-10-30 18:06 UTC (permalink / raw)
  To: gcosta, mm-commits


The patch titled
     mm/sparse-vmemmap.c: make sure init_mm is included
has been removed from the -mm tree.  Its filename was
     mm-sparse-vmemmapc-make-sure-init_mm-is-included.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: mm/sparse-vmemmap.c: make sure init_mm is included
From: Glauber de Oliveira Costa <gcosta@redhat.com>

mm/sparse-vmemmap.c uses init_mm in some places.  However, it is not
present in any of the headers currently included in the file.

init_mm is defined as extern in sched.h, so we add it to the headers list

Up to now, this problem was masked by the fact that functions like
set_pte_at() and pmd_populate_kernel() are usually macros that expand to
simpler variants that does not use the first parameter at all.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

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

diff -puN mm/sparse-vmemmap.c~mm-sparse-vmemmapc-make-sure-init_mm-is-included mm/sparse-vmemmap.c
--- a/mm/sparse-vmemmap.c~mm-sparse-vmemmapc-make-sure-init_mm-is-included
+++ a/mm/sparse-vmemmap.c
@@ -24,6 +24,7 @@
 #include <linux/module.h>
 #include <linux/spinlock.h>
 #include <linux/vmalloc.h>
+#include <linux/sched.h>
 #include <asm/dma.h>
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
_

Patches currently in -mm which might be from gcosta@redhat.com are

origin.patch
git-kvm.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-30 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 18:06 - mm-sparse-vmemmapc-make-sure-init_mm-is-included.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.