From: Li Zhong Date: Thu, 7 Jun 2012 17:44:23 +0000 (+0000) Subject: powerpc: Fix Section mismatch warnings in prom_init.c X-Git-Tag: v3.5-rc5~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb387ae758d97ee7396a82528c824b8dc510b8a;p=pandora-kernel.git powerpc: Fix Section mismatch warnings in prom_init.c This patches tries to fix a couple of Section mismatch warnings like following one: WARNING: arch/powerpc/kernel/built-in.o(.text+0x2923c): Section mismatch in reference from the function .prom_query_opal() to the function .init.text:.call_prom() The function .prom_query_opal() references the function __init .call_prom(). This is often because .prom_query_opal lacks a __init annotation or the annotation of .call_prom is wrong. Signed-off-by: Li Zhong Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed