blob: bcf55c3f7f7f35e0f162c504c5f6030578a857f8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_X8664_NUMA_H
2#define _ASM_X8664_NUMA_H 1
3
4#include <linux/nodemask.h>
5#include <asm/numnodes.h>
6
7struct node {
8 u64 start,end;
9};
10
11extern int compute_hash_shift(struct node *nodes, int numnodes);
Andi Kleen69e1a332005-09-12 18:49:24 +020012extern int pxm_to_node(int nid);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14#define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
15
16extern void numa_add_cpu(int cpu);
17extern void numa_init_array(void);
18extern int numa_off;
19
Andi Kleen0b07e982005-09-12 18:49:24 +020020extern unsigned char apicid_to_node[256];
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#define NUMA_NO_NODE 0xff
23
24#endif