Re: [next:akpm 136/313] mm/mmap.c:1878:6: error: 'mm' undeclared

From: Stephen Rothwell
Date: Sun Nov 11 2012 - 22:56:38 EST


On Thu, 8 Nov 2012 22:21:50 -0800 Michel Lespinasse <walken@xxxxxxxxxx> wrote:
>
> commit 34550b95185c1ecfa8882664744c14edda385868
> Author: Michel Lespinasse <walken@xxxxxxxxxx>
> Date: Thu Nov 8 22:14:34 2012 -0800
>
> fix mm: augment vma rbtree with rb_subtree_gap
>
> diff --git a/mm/mmap.c b/mm/mmap.c
> index d12c69eaf23f..0b8f9d83e2e2 100644
> --- a/mm/mmap.c
> +++ b/mm/mmap.c
> @@ -2032,7 +2032,7 @@ int expand_upwards(struct vm_area_struct *vma, unsigned long address)
> if (vma->vm_next)
> vma_gap_update(vma->vm_next);
> else
> - mm->highest_vm_end = address;
> + vma->vm_mm->highest_vm_end = address;
> perf_event_mmap(vma);
> }
> }

Added to the akpm tree today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature