X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fnuma.h;h=a31a7301b159e8b1b8036a14cf734dd55ec0d0e2;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=f0c539bd3cfc44e07eaafc26bcf358c29c0fc65f;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/linux/numa.h b/include/linux/numa.h index f0c539bd3..a31a7301b 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