OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / linux / numa.h
blob3aaa31603a861a98d44f0d2b7862c582c589d934
1 #ifndef _LINUX_NUMA_H
2 #define _LINUX_NUMA_H
5 #ifdef CONFIG_NODES_SHIFT
6 #define NODES_SHIFT CONFIG_NODES_SHIFT
7 #else
8 #define NODES_SHIFT 0
9 #endif
11 #define MAX_NUMNODES (1 << NODES_SHIFT)
13 #define NUMA_NO_NODE (-1)
15 #endif /* _LINUX_NUMA_H */