From: Sam Ravnborg <[EMAIL PROTECTED]>
Date: Fri, 22 Feb 2008 21:33:31 +0100

> Fix following warnings:
> WARNING: vmlinux.o(.text+0x4f980): Section mismatch in reference from the 
> function kernel_map_range() to the function .init.text:__alloc_bootmem()
> WARNING: vmlinux.o(.text+0x4f9cc): Section mismatch in reference from the 
> function kernel_map_range() to the function .init.text:__alloc_bootmem()
> 
> alloc_bootmem() is only used during early init and for any subsequent
> call to kernel_map_range() the program logic avoid the call.
> So annotate kernel_map_range() with __ref to tell modpost to
> ignore the reference to a __init function.
> 
> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
> Cc: David S. Miller <[EMAIL PROTECTED]>

Applied, thanks Sam.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to