X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fnumnodes.h;h=5d2a1034a02ef331089c94f514e21f11296d138c;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=c523acc158091a6223bb4389d87afd8d7a2389ac;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-arm/numnodes.h b/include/asm-arm/numnodes.h index c523acc15..5d2a1034a 100644 --- a/include/asm-arm/numnodes.h +++ b/include/asm-arm/numnodes.h @@ -7,12 +7,17 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +/* This declaration for the size of the NUMA (CONFIG_DISCONTIGMEM) + * memory node table is the default. + * + * A good place to override this value is include/asm/arch/memory.h. + */ + #ifndef __ASM_ARM_NUMNODES_H #define __ASM_ARM_NUMNODES_H -#ifdef CONFIG_ARCH_LH7A40X -# define NODES_SHIFT 4 /* Max 16 nodes for the Sharp CPUs */ -#else +#ifndef NODES_SHIFT # define NODES_SHIFT 2 /* Normally, Max 4 Nodes */ #endif