diff options
Diffstat (limited to 'tools/testing/radix-tree/linux')
-rw-r--r-- | tools/testing/radix-tree/linux/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/linux/kernel.h b/tools/testing/radix-tree/linux/kernel.h index be98a47b4e1b..dbe4b92806b8 100644 --- a/tools/testing/radix-tree/linux/kernel.h +++ b/tools/testing/radix-tree/linux/kernel.h | |||
@@ -10,7 +10,11 @@ | |||
10 | #include "../../include/linux/compiler.h" | 10 | #include "../../include/linux/compiler.h" |
11 | #include "../../../include/linux/kconfig.h" | 11 | #include "../../../include/linux/kconfig.h" |
12 | 12 | ||
13 | #ifdef BENCHMARK | ||
14 | #define RADIX_TREE_MAP_SHIFT 6 | ||
15 | #else | ||
13 | #define RADIX_TREE_MAP_SHIFT 3 | 16 | #define RADIX_TREE_MAP_SHIFT 3 |
17 | #endif | ||
14 | 18 | ||
15 | #ifndef NULL | 19 | #ifndef NULL |
16 | #define NULL 0 | 20 | #define NULL 0 |