summaryrefslogtreecommitdiffstats
path: root/include/linux/numa.h
blob: a31a7301b159e8b1b8036a14cf734dd55ec0d0e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LINUX_NUMA_H
#define _LINUX_NUMA_H


#ifdef CONFIG_NODES_SHIFT
#define NODES_SHIFT     CONFIG_NODES_SHIFT
#else
#define NODES_SHIFT     0
#endif

#define MAX_NUMNODES    (1 << NODES_SHIFT)

#endif /* _LINUX_NUMA_H */