From: Jayachandran C Date: Wed, 7 Jan 2015 11:28:30 +0000 (+0530) Subject: MIPS: Netlogic: Move cores per node out of multi-node.h X-Git-Tag: omap-for-v4.2/o2_dc~101^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2736525465a5d6fe1456da8cc2bc701f9128682;p=pandora-kernel.git MIPS: Netlogic: Move cores per node out of multi-node.h Use the current_cpu_data package field to get the node of the current CPU. This allows us to remove xlp_cores_per_node and move nlm_threads_per_node() and nlm_cores_per_node() to netlogic/common.h, which simplifies code. Signed-off-by: Jayachandran C Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8889/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed