X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fnuma.h;fp=include%2Flinux%2Fnuma.h;h=f0c539bd3cfc44e07eaafc26bcf358c29c0fc65f;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=a31a7301b159e8b1b8036a14cf734dd55ec0d0e2;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/linux/numa.h b/include/linux/numa.h index a31a7301b..f0c539bd3 100644 --- a/include/linux/numa.h +++ b/include/linux/numa.h @@ -1,10 +1,13 @@ #ifndef _LINUX_NUMA_H #define _LINUX_NUMA_H +#include -#ifdef CONFIG_NODES_SHIFT -#define NODES_SHIFT CONFIG_NODES_SHIFT -#else +#ifndef CONFIG_FLATMEM +#include +#endif + +#ifndef NODES_SHIFT #define NODES_SHIFT 0 #endif