linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Fix alloc_vm_area for noMMU system
@ 2011-11-16  7:51 Michal Simek
  2011-11-16 13:59 ` Konrad Rzeszutek Wilk
  2011-11-16 14:11 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 7+ messages in thread
From: Michal Simek @ 2011-11-16  7:51 UTC (permalink / raw)
  To: linux-next
  Cc: sfr, Michal Simek, David Vrabel, Andrew Morton,
	Konrad Rzeszutek Wilk

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@citrix.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>

---
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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-16 15:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16  7:51 [PATCH] mm: Fix alloc_vm_area for noMMU system Michal Simek
2011-11-16 13:59 ` Konrad Rzeszutek Wilk
2011-11-16 14:01   ` David Vrabel
2011-11-16 14:18     ` Konrad Rzeszutek Wilk
2011-11-16 14:25       ` Michal Simek
2011-11-16 15:32         ` Konrad Rzeszutek Wilk
2011-11-16 14:11 ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).