From: Sam Ravnborg Date: Mon, 25 Feb 2008 03:49:52 +0000 (-0800) Subject: [SPARC64]: Fix section mismatch from kernel_map_range X-Git-Tag: v2.6.25-rc4~149^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=896aef430e5afb56b5f7b1d959226b8a6a08108a;p=pandora-kernel.git [SPARC64]: Fix section mismatch from kernel_map_range 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed