https://github.com/torvalds/linux
Raw File
Tip revision: a2755a80f40e5794ddc20e00f781af9d6320fafb authored by Linus Torvalds on 20 April 2005, 23:24:21 UTC
Linux v2.6.12-rc3
Tip revision: a2755a8
numa.h
#ifndef _LINUX_NUMA_H
#define _LINUX_NUMA_H

#include <linux/config.h>

#ifdef CONFIG_DISCONTIGMEM
#include <asm/numnodes.h>
#endif

#ifndef NODES_SHIFT
#define NODES_SHIFT     0
#endif

#define MAX_NUMNODES    (1 << NODES_SHIFT)

#endif /* _LINUX_NUMA_H */
back to top