mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
19 lines
289 B
C
19 lines
289 B
C
![]() |
#ifndef _ASM_MAX_NUMNODES_H
|
||
|
#define _ASM_MAX_NUMNODES_H
|
||
|
|
||
|
#include <linux/config.h>
|
||
|
|
||
|
#ifdef CONFIG_X86_NUMAQ
|
||
|
|
||
|
/* Max 16 Nodes */
|
||
|
#define NODES_SHIFT 4
|
||
|
|
||
|
#elif defined(CONFIG_ACPI_SRAT)
|
||
|
|
||
|
/* Max 8 Nodes */
|
||
|
#define NODES_SHIFT 3
|
||
|
|
||
|
#endif /* CONFIG_X86_NUMAQ */
|
||
|
|
||
|
#endif /* _ASM_MAX_NUMNODES_H */
|