فهرست منبع

[IA64] Increase max node count on SN platforms

Node number are kept in the cpu_to_node_map which is
currently defined as u8. Change to u16 to accomodate
larger node numbers.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Jack Steiner 19 سال پیش
والد
کامیت
a9de983514
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      arch/ia64/kernel/numa.c
  2. 1 1
      include/asm-ia64/numa.h

+ 1 - 1
arch/ia64/kernel/numa.c

@@ -25,7 +25,7 @@
 #include <asm/processor.h>
 #include <asm/processor.h>
 #include <asm/smp.h>
 #include <asm/smp.h>
 
 
-u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
+u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
 EXPORT_SYMBOL(cpu_to_node_map);
 EXPORT_SYMBOL(cpu_to_node_map);
 
 
 cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
 cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;

+ 1 - 1
include/asm-ia64/numa.h

@@ -23,7 +23,7 @@
 
 
 #include <asm/mmzone.h>
 #include <asm/mmzone.h>
 
 
-extern u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
+extern u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned;
 extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
 extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned;
 
 
 /* Stuff below this line could be architecture independent */
 /* Stuff below this line could be architecture independent */