mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 07:46:46 +07:00
13 lines
174 B
C
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
|