This source file includes following definitions.
- numa_setup
- numa_update_cpu_topology
- numa_pfn_to_nid
1
2
3
4
5
6
7
8
9
10 #ifndef _ASM_S390_NUMA_H
11 #define _ASM_S390_NUMA_H
12
13 #ifdef CONFIG_NUMA
14
15 #include <linux/numa.h>
16 #include <linux/cpumask.h>
17
18 void numa_setup(void);
19 int numa_pfn_to_nid(unsigned long pfn);
20 int __node_distance(int a, int b);
21 void numa_update_cpu_topology(void);
22
23 extern cpumask_t node_to_cpumask_map[MAX_NUMNODES];
24 extern int numa_debug_enabled;
25
26 #else
27
28 static inline void numa_setup(void) { }
29 static inline void numa_update_cpu_topology(void) { }
30 static inline int numa_pfn_to_nid(unsigned long pfn)
31 {
32 return 0;
33 }
34
35 #endif
36 #endif