On Mon 20-08-12 10:06:30, Mel Gorman wrote: > On Mon, Aug 20, 2012 at 07:59:24AM +0800, Fengguang Wu wrote: > > Hi Mel, > > > > FYI, kernel build failed on > > > > tree: git://github.com/mstsxfx/memcg-devel.git since-3.5 > > head: a49301bd151e60fc22dc5b934358a9bb80bed7b3 > > commit: c4183d4ae946b7965f2657cf97da742c87fa9d96 [41/99] nfs: enable swap on NFS > > config: m32r-m32104ut_defconfig (attached as .config) > > > > All related error/warning messages: > > > > fs/built-in.o: In function `nfs_file_direct_read': > > (.text+0xa0998): undefined reference to `get_kernel_page' > > fs/built-in.o: In function `nfs_file_direct_write': > > (.text+0xa10b8): undefined reference to `get_kernel_page' > > > > Michal, as this is the memcg tree and not akpm or linux-next could this > build error be a merge problem in your tree? Hmm, maybe my tree is missing some follow up fix but git diff sees nothin relevant. Neverheless I have noticed that both CONFIG_SWAP and CONFIG_NFS_SWAP are disabled. get_kernel_page is defined in mm/swap.c but that one should be compiled in regardless the SWAP configuration. I do not see this error on x86_64 with the above two disabled. Is it possible that this is something m32r specific? Possibly some confusion wrt. EXPORT_SYMBOL_GPL? -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html