diff options
Diffstat (limited to 'tools/testing/radix-tree/regression2.c')
| -rw-r--r-- | tools/testing/radix-tree/regression2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/regression2.c b/tools/testing/radix-tree/regression2.c index 63bf347aaf33..a41325d7a170 100644 --- a/tools/testing/radix-tree/regression2.c +++ b/tools/testing/radix-tree/regression2.c | |||
| @@ -50,6 +50,7 @@ | |||
| 50 | #include <stdio.h> | 50 | #include <stdio.h> |
| 51 | 51 | ||
| 52 | #include "regression.h" | 52 | #include "regression.h" |
| 53 | #include "test.h" | ||
| 53 | 54 | ||
| 54 | #define PAGECACHE_TAG_DIRTY 0 | 55 | #define PAGECACHE_TAG_DIRTY 0 |
| 55 | #define PAGECACHE_TAG_WRITEBACK 1 | 56 | #define PAGECACHE_TAG_WRITEBACK 1 |
| @@ -90,7 +91,7 @@ void regression2_test(void) | |||
| 90 | /* 1. */ | 91 | /* 1. */ |
| 91 | start = 0; | 92 | start = 0; |
| 92 | end = max_slots - 2; | 93 | end = max_slots - 2; |
| 93 | radix_tree_range_tag_if_tagged(&mt_tree, &start, end, 1, | 94 | tag_tagged_items(&mt_tree, NULL, start, end, 1, |
| 94 | PAGECACHE_TAG_DIRTY, PAGECACHE_TAG_TOWRITE); | 95 | PAGECACHE_TAG_DIRTY, PAGECACHE_TAG_TOWRITE); |
| 95 | 96 | ||
| 96 | /* 2. */ | 97 | /* 2. */ |
