mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
18 lines
289 B
C
18 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 */
|