From: Andrew Cooper Subject: [PATCH 2/6] x86/numa: Correct the extern of cpu_to_node Date: Tue, 7 Apr 2015 18:26:16 +0100 Message-ID: <1428427580-8854-3-git-send-email-andrew.cooper3@citrix.com> References: <1428427580-8854-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1428427580-8854-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Andrew Cooper , Boris Ostrovsky , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org This was missed by c/s 54ce2db "x86/numa: adjust datatypes for node and pxm" which changed the array definition in numa.c Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich CC: Boris Ostrovsky --- xen/include/asm-x86/numa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/asm-x86/numa.h b/xen/include/asm-x86/numa.h index 7a489d3..0c5e5b4 100644 --- a/xen/include/asm-x86/numa.h +++ b/xen/include/asm-x86/numa.h @@ -9,7 +9,7 @@ extern int srat_rev; -extern unsigned char cpu_to_node[]; +extern nodeid_t cpu_to_node[NR_CPUS]; extern cpumask_t node_to_cpumask[]; #define cpu_to_node(cpu) (cpu_to_node[cpu]) -- 1.7.10.4