X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-ia64%2Fnuma.h;h=3499ff57bf425db6544e9bf60f31a334d4aaa4a3;hb=860da5e578c25d1ab4528c0d1ad13f9969e3490f;hp=e0a1d173e42df07fd74ebee65ffde116b9e76ec9;hpb=7b29122f9ec54db5c38a66a11127d94db0817c17;p=linux-2.6 diff --git a/include/asm-ia64/numa.h b/include/asm-ia64/numa.h index e0a1d173e4..3499ff57bf 100644 --- a/include/asm-ia64/numa.h +++ b/include/asm-ia64/numa.h @@ -22,8 +22,11 @@ #include +#define NUMA_NO_NODE -1 + extern u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned; extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; +extern pg_data_t *pgdat_list[MAX_NUMNODES]; /* Stuff below this line could be architecture independent */ @@ -69,6 +72,8 @@ extern void unmap_cpu_from_node(int cpu, int nid); #else /* !CONFIG_NUMA */ +#define map_cpu_to_node(cpu, nid) do{}while(0) +#define unmap_cpu_from_node(cpu, nid) do{}while(0) #define paddr_to_nid(addr) 0