move EXPORT_SYMBOL(filemap_populate) to the proper place: just after function itself: it's easy to miss that function is exported otherwise. Signed-off-by: Nikita Danilov mm/filemap.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff -puN mm/filemap.c~export-filemap_populate-in-proper-place mm/filemap.c --- git-linux/mm/filemap.c~export-filemap_populate-in-proper-place 2005-10-24 13:46:24.000000000 +0400 +++ git-linux-nikita/mm/filemap.c 2005-10-24 13:46:24.000000000 +0400 @@ -461,7 +461,7 @@ void fastcall unlock_page(struct page *p smp_mb__before_clear_bit(); if (!TestClearPageLocked(page)) BUG(); - smp_mb__after_clear_bit(); + smp_mb__after_clear_bit(); wake_up_page(page, PG_locked); } EXPORT_SYMBOL(unlock_page); @@ -1151,7 +1151,7 @@ static int FASTCALL(page_cache_read(stru static int fastcall page_cache_read(struct file * file, unsigned long offset) { struct address_space *mapping = file->f_mapping; - struct page *page; + struct page *page; int error; page = page_cache_alloc_cold(mapping); @@ -1166,7 +1166,7 @@ static int fastcall page_cache_read(stru } /* - * We arrive here in the unlikely event that someone + * We arrive here in the unlikely event that someone * raced with us and added our page to the cache first * or we are out of memory for radix-tree nodes. */ @@ -1537,6 +1537,7 @@ repeat: return 0; } +EXPORT_SYMBOL(filemap_populate); struct vm_operations_struct generic_file_vm_ops = { .nopage = filemap_nopage, @@ -1555,7 +1556,6 @@ int generic_file_mmap(struct file * file vma->vm_ops = &generic_file_vm_ops; return 0; } -EXPORT_SYMBOL(filemap_populate); /* * This is for filesystems which do not implement ->writepage. @@ -1726,7 +1726,7 @@ int remove_suid(struct dentry *dentry) EXPORT_SYMBOL(remove_suid); size_t -__filemap_copy_from_user_iovec(char *vaddr, +__filemap_copy_from_user_iovec(char *vaddr, const struct iovec *iov, size_t base, size_t bytes) { size_t copied = 0, left = 0; _