diff options
author | travis@sgi.com <travis@sgi.com> | 2008-01-30 07:33:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:11 -0500 |
commit | 3cc87e3f4042a099fb649c5df33d3ccfae36173f (patch) | |
tree | 05ec0a543e4e3406d64a39a9de86d247c707472f /include/asm-x86/numa_64.h | |
parent | ef97001f3d869d7cc1956e0cc0d89e514e3f7db0 (diff) |
x86: change size of node ids from u8 to u16
Change the size of node ids from 8 bits to 16 bits to
accomodate more than 256 nodes.
Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/numa_64.h')
-rw-r--r-- | include/asm-x86/numa_64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/numa_64.h b/include/asm-x86/numa_64.h index 4449889bb0c0..941889471b52 100644 --- a/include/asm-x86/numa_64.h +++ b/include/asm-x86/numa_64.h | |||
@@ -20,7 +20,7 @@ extern void numa_set_node(int cpu, int node); | |||
20 | extern void srat_reserve_add_area(int nodeid); | 20 | extern void srat_reserve_add_area(int nodeid); |
21 | extern int hotadd_percent; | 21 | extern int hotadd_percent; |
22 | 22 | ||
23 | extern unsigned char apicid_to_node[MAX_LOCAL_APIC]; | 23 | extern u16 apicid_to_node[MAX_LOCAL_APIC]; |
24 | 24 | ||
25 | extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); | 25 | extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn); |
26 | extern unsigned long numa_free_all_bootmem(void); | 26 | extern unsigned long numa_free_all_bootmem(void); |
@@ -40,6 +40,6 @@ static inline void clear_node_cpumask(int cpu) | |||
40 | #define clear_node_cpumask(cpu) do {} while (0) | 40 | #define clear_node_cpumask(cpu) do {} while (0) |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #define NUMA_NO_NODE 0xff | 43 | #define NUMA_NO_NODE 0xffff |
44 | 44 | ||
45 | #endif | 45 | #endif |