Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
422 | giacomo | 1 | #ifndef _ASM_MAX_NUMNODES_H |
2 | #define _ASM_MAX_NUMNODES_H |
||
3 | |||
4 | #include <linux/config.h> |
||
5 | |||
6 | #ifdef CONFIG_X86_NUMAQ |
||
7 | |||
8 | /* Max 16 Nodes */ |
||
9 | #define NODES_SHIFT 4 |
||
10 | |||
11 | #elif defined(CONFIG_ACPI_SRAT) |
||
12 | |||
13 | /* Max 8 Nodes */ |
||
14 | #define NODES_SHIFT 3 |
||
15 | |||
16 | #endif /* CONFIG_X86_NUMAQ */ |
||
17 | |||
18 | #endif /* _ASM_MAX_NUMNODES_H */ |