X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fnumnodes.h;h=32be16b8ae9615da980b156e3ad00dd4ca992f96;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=336011c3d3fd888a2553e21b04137b67cfc29b11;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-x86_64/numnodes.h b/include/asm-x86_64/numnodes.h index 336011c3d..32be16b8a 100644 --- a/include/asm-x86_64/numnodes.h +++ b/include/asm-x86_64/numnodes.h @@ -3,7 +3,10 @@ #include -/* Max 8 Nodes - APIC limit currently */ -#define NODES_SHIFT 3 +#ifdef CONFIG_NUMA +#define NODES_SHIFT 6 +#else +#define NODES_SHIFT 0 +#endif #endif