X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fvmalloc.c;h=d3a9c5368257afd6243c81c26881b25f67ff65f4;hb=c71cd01989b417317f4d22ccf4ce112859671b64;hp=cb5aabda70461818e2184872ef340bac87d3f055;hpb=ea62ccd00fd0b6720b033adfc9984f31130ce195;p=linux-2.6 diff --git a/mm/vmalloc.c b/mm/vmalloc.c index cb5aabda70..d3a9c53682 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -311,7 +311,7 @@ struct vm_struct *remove_vm_area(void *addr) return v; } -void __vunmap(void *addr, int deallocate_pages) +static void __vunmap(void *addr, int deallocate_pages) { struct vm_struct *area; @@ -755,3 +755,10 @@ out_einval_locked: } EXPORT_SYMBOL(remap_vmalloc_range); +/* + * Implement a stub for vmalloc_sync_all() if the architecture chose not to + * have one. + */ +void __attribute__((weak)) vmalloc_sync_all(void) +{ +}