On Wed, 5 May 2010 19:19:18 +0800 xiaokun <xiao...@sf-auto.com> wrote:
> I am using MPC8272ADS_20080623-ltib.iso from freescale > > The Linux Kernel is 2.6.25. > > When I make uImage, the error message is : > > WARNING: vmlinux.o(.text+0x159450): Section mismatch in reference from the > function cpm_uart_allocbuf() to the function .init.text:__alloc_bootmem() > The function cpm_uart_allocbuf() references > the function __init __alloc_bootmem(). > This is often because cpm_uart_allocbuf lacks a __init > annotation or the annotation of __alloc_bootmem is wrong. > > > It seems that "drivers\serial\cpm_uart\cpm_uart_cpm2.c" needs to be patched. arghhhh, the "\" heart my eyes!!! ;) > How to find the patch? Maybe do a git log on a recent kernel on this file (I have not checked the results) > How to search in the collection of prior postings to this mail list? Maybe try something like : http://www.google.com/#q=site%3Alists.ozlabs.org+cpm_uart_allocbuf (I have not checked the results) Cheers! Guillaume Knispel _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev