Re: [PATCH] mm: Fix alloc_vm_area for noMMU system

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

 



On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
> Patch:
> "xen: map foreign pages for shared rings by updating the PTEs directly"
> (sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
> of argument for alloc_vm_area but forget to change it for noMMU systems.
> This patch fix it.
> 
> CC: David Vrabel <david.vrabel@xxxxxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Andrew, I was thinking to send that "xen: map foreign pages.." to Linus
at some point.

Is it OK if I have your Ack on this patch and stick this with the
mentioned patch in my queue?

> CC: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> Signed-off-by: Michal Simek <monstr@xxxxxxxxx>
> 
> ---
> It is for linux-next tree.
> 
> Michal
> ---
>  mm/nommu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/mm/nommu.c b/mm/nommu.c
> index 73419c5..b982290 100644
> --- a/mm/nommu.c
> +++ b/mm/nommu.c
> @@ -454,7 +454,7 @@ void  __attribute__((weak)) vmalloc_sync_all(void)
>   *	between processes, it syncs the pagetable across all
>   *	processes.
>   */
> -struct vm_struct *alloc_vm_area(size_t size)
> +struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)
>  {
>  	BUG();
>  	return NULL;
> -- 
> 1.7.5.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-next" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux