MIPS: Netlogic: Add macro for node present
authorJayachandran C <jchandra@broadcom.com>
Sat, 21 Dec 2013 11:22:17 +0000 (16:52 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:47 +0000 (22:39 +0100)
commitcfec4c63f5034160ab4a4654c05dd6241f51b282
tree43891c1e5800e7bcd594f583ae8f48630182cb39
parented8dfc46e0099540cb923f61bca885b460f1365e
MIPS: Netlogic: Add macro for node present

Add macro nlm_node_present() that can be used to check if a node is present
in a multi-chip configuration. This can be used even when NUMA is not enabled.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6272/
arch/mips/include/asm/mach-netlogic/multi-node.h
arch/mips/pci/pci-xlp.c