The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] move die notifier handling to common code fix vmalloc_sync_all in nommu
@ 2007-04-04  6:28 Wu, Bryan
  0 siblings, 0 replies; only message in thread
From: Wu, Bryan @ 2007-04-04  6:28 UTC (permalink / raw)
  To: Christoph Hellwig, Andi Kleen, linux-kernel, Andrew Morton


Signed-off-by: Bryan Wu <bryan.wu@analog.com>
---
 mm/nommu.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/mm/nommu.c b/mm/nommu.c
index 2d0a82f..0016557 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -261,6 +261,14 @@ void vunmap(void *addr)
 }
 
 /*
+ * Implement a stub for vmalloc_sync_all() if the architecture chose not to
+ * have one.
+ */
+void  __attribute__((weak)) vmalloc_sync_all(void)
+{
+}
+
+/*
  *  sys_brk() for the most part doesn't need the global kernel
  *  lock, except when an application is doing something nasty
  *  like trying to un-brk an area that has already been mapped
-- 
1.5.0.5


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

only message in thread, other threads:[~2007-04-04  6:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04  6:28 [PATCH] move die notifier handling to common code fix vmalloc_sync_all in nommu Wu, Bryan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox