aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/regression2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/radix-tree/regression2.c')
-rw-r--r--tools/testing/radix-tree/regression2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/testing/radix-tree/regression2.c b/tools/testing/radix-tree/regression2.c
index 424b91c77831..f2c7e640a919 100644
--- a/tools/testing/radix-tree/regression2.c
+++ b/tools/testing/radix-tree/regression2.c
@@ -53,9 +53,9 @@
53#include "regression.h" 53#include "regression.h"
54#include "test.h" 54#include "test.h"
55 55
56#define PAGECACHE_TAG_DIRTY 0 56#define PAGECACHE_TAG_DIRTY XA_MARK_0
57#define PAGECACHE_TAG_WRITEBACK 1 57#define PAGECACHE_TAG_WRITEBACK XA_MARK_1
58#define PAGECACHE_TAG_TOWRITE 2 58#define PAGECACHE_TAG_TOWRITE XA_MARK_2
59 59
60static RADIX_TREE(mt_tree, GFP_KERNEL); 60static RADIX_TREE(mt_tree, GFP_KERNEL);
61unsigned long page_count = 0; 61unsigned long page_count = 0;
@@ -92,7 +92,7 @@ void regression2_test(void)
92 /* 1. */ 92 /* 1. */
93 start = 0; 93 start = 0;
94 end = max_slots - 2; 94 end = max_slots - 2;
95 tag_tagged_items(&mt_tree, NULL, start, end, 1, 95 tag_tagged_items(&mt_tree, start, end, 1,
96 PAGECACHE_TAG_DIRTY, PAGECACHE_TAG_TOWRITE); 96 PAGECACHE_TAG_DIRTY, PAGECACHE_TAG_TOWRITE);
97 97
98 /* 2. */ 98 /* 2. */