From: "Wu, Bryan" Signed-off-by: Bryan Wu Cc: Christoph Hellwig Cc: Andi Kleen Signed-off-by: Andrew Morton --- mm/nommu.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff -puN mm/nommu.c~move-die-notifier-handling-to-common-code-fix mm/nommu.c --- a/mm/nommu.c~move-die-notifier-handling-to-common-code-fix +++ a/mm/nommu.c @@ -262,6 +262,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 _