MIPS: Netlogic: Fix uniprocessor compilation
authorJayachandran C <jchandra@broadcom.com>
Tue, 29 Apr 2014 14:37:41 +0000 (20:07 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 14:44:55 +0000 (16:44 +0200)
commitf9fab7e4edfb2e14b870dcb902976325b21e9f1e
tree8fe1fab1e1c1143ea0c8387e01bd033ff0c98e9d
parenta91796a919ceeb80fde7f413cd898bd0f409fec3
MIPS: Netlogic: Fix uniprocessor compilation

The macros in topology.h need CONFIG_SMP, and the uniprocessor compilation
fails due to this. Wrap the macros in an ifdef so that uniprocessor works.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/6863/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-netlogic/topology.h