Merge remote-tracking branches 'asoc/fix/rt5659', 'asoc/fix/sigmadsp', 'asoc/fix...
[deliverable/linux.git] / arch / s390 / include / asm / numa.h
CommitLineData
3a368f74
PH
1/*
2 * NUMA support for s390
3 *
4 * Declare the NUMA core code structures and functions.
5 *
6 * Copyright IBM Corp. 2015
7 */
8
9#ifndef _ASM_S390_NUMA_H
10#define _ASM_S390_NUMA_H
11
12#ifdef CONFIG_NUMA
13
14#include <linux/numa.h>
15#include <linux/cpumask.h>
16
17void numa_setup(void);
18int numa_pfn_to_nid(unsigned long pfn);
19int __node_distance(int a, int b);
20void numa_update_cpu_topology(void);
21
22be9cd9 22extern cpumask_t node_to_cpumask_map[MAX_NUMNODES];
3a368f74
PH
23extern int numa_debug_enabled;
24
25#else
26
27static inline void numa_setup(void) { }
28static inline void numa_update_cpu_topology(void) { }
c29a7baf
MH
29static inline int numa_pfn_to_nid(unsigned long pfn)
30{
31 return 0;
32}
3a368f74
PH
33
34#endif /* CONFIG_NUMA */
35#endif /* _ASM_S390_NUMA_H */
This page took 0.068135 seconds and 5 git commands to generate.