aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/numnodes.h
blob: a61f38c8176f44a31daab940ef25943e5c41242c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 */