Skip to contentSkip to conversation

move die notifier handling to common code fix vmalloc_sync_all in nommu

PATCH New Wu, Bryan 1 participant 1 message Apr 4, 2007

Subsystems (2)
lore
Share & tools
lore

Wu, Bryan

author
#0 lore raw

PATCH 1/1 move die notifier handling to common code fix vmalloc_sync_all in nommu

---
 mm/nommu.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
mm/nommu.c +8 -0
index 2d0a82f..0016557 100644
@@ -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
Signature · 1 line
1.5.0.5