The patch titled mm/filemap.c:generic_write_checks() mustn't be inline has been added to the -mm tree. Its filename is mm-filemapc-generic_write_checks-mustnt-be-inline.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm/filemap.c:generic_write_checks() mustn't be inline From: Adrian Bunk <bunk@xxxxxxxxxx> Fix the following build error with UML and gcc 4.3: /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/filemap.c: In function `__generic_file_aio_write_nolock': /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/filemap.c:1831: sorry, unimplemented: inlining failed in call to `generic_write_checks': function body not available /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/filemap.c:2383: sorry, unimplemented: called from here Reported-by: Ingo Molnar <mingo@xxxxxxx> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/filemap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN mm/filemap.c~mm-filemapc-generic_write_checks-mustnt-be-inline mm/filemap.c --- a/mm/filemap.c~mm-filemapc-generic_write_checks-mustnt-be-inline +++ a/mm/filemap.c @@ -1829,7 +1829,8 @@ EXPORT_SYMBOL(iov_iter_single_seg_count) * Returns appropriate error code that caller should return or * zero in case that write should be allowed. */ -inline int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk) +int generic_write_checks(struct file *file, loff_t *pos, size_t *count, + int isblk) { struct inode *inode = file->f_mapping->host; unsigned long limit = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; _ Patches currently in -mm which might be from bunk@xxxxxxxxxx are origin.patch fs-ramfs-extern-cleanup.patch fs-hfsplus-proper-externs.patch fs-freevxfs-proper-externs.patch make-__put_super-static.patch make-vfs_ioctl-static.patch fs-fs-writeback-make-2-functions-static.patch fs-drop_cachesc-make-2-functions-static.patch fs-aioc-make-3-functions-static.patch let-log_buf_shift-default-to-17.patch fs-timerfdc-should-include-linux-syscallsh.patch remove-generic_commit_write.patch make-fs-bufferccont_expand_zero-static.patch make-binfmt_flat-a-bool.patch remove-mca_is_adapter_used.patch ipwireless-remove-dead-code.patch proper-__do_softirq-prototype.patch proper-extern-for-late_time_init.patch remove-ecryptfs_header_cache_0.patch make-cgroup_enable_task_cg_lists-static.patch cgroups-kernel-ns_cgroupc-should-include-linux-nsproxyh.patch kernel-cpusetc-make-3-functions-static.patch ipmi-make-alloc_recv_msg-static.patch ipmi-fix-return-from-atca_oem_poweroff_hook.patch include-linux-sysctlh-remove-empty-else.patch remove-aoedev_isbusy.patch edac-remove-unneeded-functions-and-add-static-accessor.patch mm-filemapc-generic_write_checks-mustnt-be-inline.patch git-acpi.patch arch-x86-video-fbdevc-add-module_license.patch git-m32r.patch git-nfsd.patch git-ocfs2.patch git-pci.patch show_schedstat-fix-memleak.patch git-sh.patch if-0-ses_match_host.patch git-watchdog.patch make-marker_debug-static.patch reiser4.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html