X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=mm%2Fnommu.c;h=2b16b00a5b115be2c13897aab5763562312ecb84;hb=7a13e932281e7042a592f4f14db0b348199e7aac;hp=1f60194d9b9b436e0d8020c4bc73b5226429b2be;hpb=d6454706c382ab74e2ecad7803c434cc6bd30343;p=powerpc.git 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