From: Stephen Rothwell Date: Mon, 25 Mar 2013 18:44:44 +0000 (+0000) Subject: powerpc: fix annotation of fake_numa_create_new_node() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~66^2~72^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55671f3cc29c31681278b7782de4f6a4edb97a7e;p=pandora-kernel.git powerpc: fix annotation of fake_numa_create_new_node() This function has always been marked as __cpuinit, but is only called from functions marked as __init and references an __initdata variable. So change its annotation to __init. Fixes this build warning: WARNING: arch/powerpc/mm/built-in.o(.cpuinit.text+0x86): Section mismatch in reference from the function .fake_numa_create_new_node() to the variable .init.data:cmdline The function __cpuinit .fake_numa_create_new_node() references a variable __initdata cmdline. If cmdline is only used by .fake_numa_create_new_node then annotate cmdline with a matching annotation. Signed-off-by: Stephen Rothwell Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed