kolibrios-gitea/drivers/include/linux/numa.h
Sergey Semyonov (Serge) 8f3ca726d6 ddk: update includes
git-svn-id: svn://kolibrios.org@6588 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-12 18:46:14 +00:00

16 lines
253 B
C

#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)
#define NUMA_NO_NODE (-1)
#endif /* _LINUX_NUMA_H */