X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fnommu.c;h=2b16b00a5b115be2c13897aab5763562312ecb84;hb=88db5e1489f23876a226f5393fd978ddc09dc5f9;hp=1f60194d9b9b436e0d8020c4bc73b5226429b2be;hpb=14d21785885c018611efd8aa75a5c11eaea29087;p=linux-2.6 diff --git a/mm/nommu.c b/mm/nommu.c index 1f60194d9b..2b16b00a5b 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -261,6 +261,14 @@ void vunmap(void *addr) BUG(); } +/* + * 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