From: Andrew Cooper Date: Tue, 7 Apr 2015 17:26:16 +0000 (+0100) Subject: x86/numa: Correct the extern of cpu_to_node X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3449 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4b277dca0db3aa0f2937b6f427e7b695f1b05975;p=xen.git x86/numa: Correct the extern of cpu_to_node 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 Reviewed-by: Dario Faggioli Reviewed-by: Tim Deegan --- diff --git a/xen/include/asm-x86/numa.h b/xen/include/asm-x86/numa.h index 7a489d3178..0c5e5b4687 100644 --- a/xen/include/asm-x86/numa.h +++ b/xen/include/asm-x86/numa.h @@ -9,7 +9,7 @@ typedef u8 nodeid_t; 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])