[BLOCK] iosched: fix setting of default io scheduler
[linux-2.6.22.y-op.git] / include / asm-i386 / numnodes.h
bloba61f38c8176f44a31daab940ef25943e5c41242c
1 #ifndef _ASM_MAX_NUMNODES_H
2 #define _ASM_MAX_NUMNODES_H
4 #include <linux/config.h>
6 #ifdef CONFIG_X86_NUMAQ
8 /* Max 16 Nodes */
9 #define NODES_SHIFT 4
11 #elif defined(CONFIG_ACPI_SRAT)
13 /* Max 8 Nodes */
14 #define NODES_SHIFT 3
16 #endif /* CONFIG_X86_NUMAQ */
18 #endif /* _ASM_MAX_NUMNODES_H */