From: Jayachandran C Date: Mon, 7 Jan 2013 13:21:08 +0000 (+0000) Subject: MIPS: Netlogic: Fix UP compilation on XLR X-Git-Tag: v3.8-rc6~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26f5ae865d7b324e46fff91acf43c485939bf6ea;p=pandora-kernel.git MIPS: Netlogic: Fix UP compilation on XLR The commit 2a37b1a "MIPS: Netlogic: Move from u32 cpumask to cpumask_t" breaks uniprocessor compilation on XLR with: arch/mips/netlogic/xlr/setup.c: In function 'prom_init': arch/mips/netlogic/xlr/setup.c:196:6: error: unused variable 'i' Fix by defining 'i' only when CONFIG_SMP is defined. Signed-off-by: Jayachandran C Patchwork: http://patchwork.linux-mips.org/patch/4760/ Signed-off-by: John Crispin Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed