staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / s390 / include / asm / numa.h
blob35f8cbe7e5bb052ffbac5cba3420c162fc631838
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * NUMA support for s390
5 * Declare the NUMA core code structures and functions.
7 * Copyright IBM Corp. 2015
8 */
10 #ifndef _ASM_S390_NUMA_H
11 #define _ASM_S390_NUMA_H
13 #ifdef CONFIG_NUMA
15 #include <linux/numa.h>
16 #include <linux/cpumask.h>
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);
23 extern cpumask_t node_to_cpumask_map[MAX_NUMNODES];
24 extern int numa_debug_enabled;
26 #else
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)
32 return 0;
35 #endif /* CONFIG_NUMA */
36 #endif /* _ASM_S390_NUMA_H */