From: Geert Uytterhoeven Date: Fri, 28 Mar 2008 16:07:45 +0000 (+1100) Subject: [POWERPC] move_device_tree() should be __init X-Git-Tag: v2.6.26-rc1~1125^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f032cb51a6de7d9c875e1112650ecf975fee12;p=pandora-kernel.git [POWERPC] move_device_tree() should be __init WARNING: vmlinux.o(.text+0x1e4c0): Section mismatch in reference from the function .move_device_tree() to the function .init.text:.lmb_alloc_base() The function .move_device_tree() references the function __init .lmb_alloc_base(). This is often because .move_device_tree lacks a __init annotation or the annotation of .lmb_alloc_base is wrong. move_device_tree() is called from early_init_devtree() only, which is __init Signed-off-by: Geert Uytterhoeven Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed