]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MIPS: Netlogic: Fix UP compilation on XLR
authorJayachandran C <jchandra@broadcom.com>
Mon, 7 Jan 2013 13:21:08 +0000 (13:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jan 2013 20:44:18 +0000 (21:44 +0100)
commit26f5ae865d7b324e46fff91acf43c485939bf6ea
treecd9504da60824c7b4ac86b0bfbdca35d99a35e7a
parentfe950df70013a9f3368918aab697eec15f80ac67
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 <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4760/
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlr/setup.c