]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/numa.h
8021q: fix a potential memory leak
[mirror_ubuntu-bionic-kernel.git] / include / linux / numa.h
CommitLineData
1da177e4
LT
1#ifndef _LINUX_NUMA_H
2#define _LINUX_NUMA_H
3
1da177e4 4
c80d79d7
YG
5#ifdef CONFIG_NODES_SHIFT
6#define NODES_SHIFT CONFIG_NODES_SHIFT
7#else
1da177e4
LT
8#define NODES_SHIFT 0
9#endif
10
11#define MAX_NUMNODES (1 << NODES_SHIFT)
12
4e25b257
LS
13#define NUMA_NO_NODE (-1)
14
1da177e4 15#endif /* _LINUX_NUMA_H */