diff --git a/lib/radix-tree.c b/lib/radix-tree.c index 35a2d93b3528f1cbcd1b81f205ba5521b61f8333..7cbdada51049738f4bd105f88f1ca0956daa390f 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -33,7 +33,7 @@ #ifdef __KERNEL__ -#define RADIX_TREE_MAP_SHIFT 6 +#define RADIX_TREE_MAP_SHIFT (CONFIG_BASE_SMALL ? 4 : 6) #else #define RADIX_TREE_MAP_SHIFT 3 /* For more stressful testing */ #endif