X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fnuma.h;h=dffe276ca2df49d55044dad35b124373f64e6bf8;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=1cc92fe02503d00abee3782364dfad767e19386f;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/asm-x86_64/numa.h b/include/asm-x86_64/numa.h index 1cc92fe02..dffe276ca 100644 --- a/include/asm-x86_64/numa.h +++ b/include/asm-x86_64/numa.h @@ -2,12 +2,13 @@ #define _ASM_X8664_NUMA_H 1 #include +#include -struct bootnode { +struct node { u64 start,end; }; -extern int compute_hash_shift(struct bootnode *nodes, int numnodes); +extern int compute_hash_shift(struct node *nodes, int numnodes); extern int pxm_to_node(int nid); #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT)) @@ -17,8 +18,6 @@ extern void numa_init_array(void); extern int numa_off; extern void numa_set_node(int cpu, int node); -extern void srat_reserve_add_area(int nodeid); -extern int hotadd_percent; extern unsigned char apicid_to_node[256]; #ifdef CONFIG_NUMA