original_kernel/include/asm-x86_64/numnodes.h

13 lines
174 B
C

#ifndef _ASM_X8664_NUMNODES_H
#define _ASM_X8664_NUMNODES_H 1
#include <linux/config.h>
#ifdef CONFIG_NUMA
#define NODES_SHIFT 6
#else
#define NODES_SHIFT 0
#endif
#endif