From: Geert Uytterhoeven Date: Fri, 28 Mar 2008 16:10:50 +0000 (+1100) Subject: [POWERPC] arch_add_memory() cannot be __devinit X-Git-Tag: v2.6.26-rc1~1125^2~93 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa90f70a8ed338d1afb43da21163752c6558a7d5;p=pandora-kernel.git [POWERPC] arch_add_memory() cannot be __devinit WARNING: vmlinux.o(.text+0xb41b0): Section mismatch in reference from the function .add_memory() to the function .devinit.text:.arch_add_memory() The function .add_memory() references the function __devinit .arch_add_memory(). This is often because .add_memory lacks a __devinit annotation or the annotation of .arch_add_memory is wrong. arch_add_memory() is also not __devinit on other architectures Signed-off-by: Geert Uytterhoeven Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed