]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Netlogic: Add macro for node present
authorJayachandran C <jchandra@broadcom.com>
Sat, 21 Dec 2013 11:22:17 +0000 (16:52 +0530)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 20:39:42 +0000 (21:39 +0100)
commitf269e679ad55121444a68c81da2d3d904a80b785
treeb970cd084577651677775aae4540135893569bf6
parentb94d61cd0ba97ee40f06ccf72d0b0f6add265930
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>
Acked-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