X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fnuma.h;h=a31a7301b159e8b1b8036a14cf734dd55ec0d0e2;hb=f6ac436dcc4c34709bcde355f3f2254ac0a183d4;hp=f0c539bd3cfc44e07eaafc26bcf358c29c0fc65f;hpb=cb220c1af49644786944c549518b491d4c654030;p=linux-2.6 diff --git a/include/linux/numa.h b/include/linux/numa.h index f0c539bd3c..a31a7301b1 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