X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fnuma.h;h=a31a7301b159e8b1b8036a14cf734dd55ec0d0e2;hb=326528a54f61e38fc16bf2e8ac028c6a33b615ed;hp=f0c539bd3cfc44e07eaafc26bcf358c29c0fc65f;hpb=fa5cfae37799177769e9ae2c0527fbdfea462fa9;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/numa.h b/include/linux/numa.h index f0c539bd3cf..a31a7301b15 100644 --- a/include/linux/numa.h +++ b/include/linux/numa.h @@ -1,13 +1,10 @@ #ifndef _LINUX_NUMA_H #define _LINUX_NUMA_H -#include -#ifndef CONFIG_FLATMEM -#include -#endif - -#ifndef NODES_SHIFT +#ifdef CONFIG_NODES_SHIFT +#define NODES_SHIFT CONFIG_NODES_SHIFT +#else #define NODES_SHIFT 0 #endif