mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
radix tree test suite: Add config option for map shift
Add config option "SHIFT=<value>" to Makefile for building test suite with any value of RADIX_TREE_MAP_SHIFT between 3 and 7 inclusive. Signed-off-by: Rehas Sachdeva <aquannie@gmail.com> [mawilcox@microsoft.com: .gitignore, quieten grep, remove on clean] Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
This commit is contained in:
committed by
Matthew Wilcox
parent
7e73eb0b2d
commit
c6ce3e2fe3
@@ -12,12 +12,6 @@
|
||||
#include <linux/log2.h>
|
||||
#include "../../../include/linux/kconfig.h"
|
||||
|
||||
#ifdef BENCHMARK
|
||||
#define RADIX_TREE_MAP_SHIFT 6
|
||||
#else
|
||||
#define RADIX_TREE_MAP_SHIFT 3
|
||||
#endif
|
||||
|
||||
#define printk printf
|
||||
#define pr_debug printk
|
||||
#define pr_cont printk
|
||||
|
Reference in New Issue
Block a user