From: Nathan Fontenot Date: Mon, 29 Apr 2013 03:45:36 +0000 (+0000) Subject: powerpc/pseries: Correct builds break when CONFIG_SMP not defined X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~66^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=601abdc3b4773afb9a80afc9c4c024724b7c5f4e;p=pandora-kernel.git powerpc/pseries: Correct builds break when CONFIG_SMP not defined Correct build failure for powerpc/pseries builds with CONFIG_SMP not defined. The function cpu_sibling_mask has no meaning (or definition) when CONFIG_SMP is not defined. Additionally, the updating of NUMA affinity for a CPU in a UP system doesn't really make sense. This patch ifdef's out the code making the affinity updates for PRRN events to fix the following build break. arch/powerpc/mm/numa.c: In function ‘stage_topology_update’: arch/powerpc/mm/numa.c:1535: error: implicit declaration of function ‘cpu_sibling_mask’ arch/powerpc/mm/numa.c:1535: warning: passing argument 3 of ‘cpumask_or’ makes pointer from integer without a cast make[1]: *** [arch/powerpc/mm/numa.o] Error 1 Signed-off-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed