summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mm/page_frag/page_frag_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/mm/page_frag/page_frag_test.c')
-rw-r--r--tools/testing/selftests/mm/page_frag/page_frag_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/mm/page_frag/page_frag_test.c b/tools/testing/selftests/mm/page_frag/page_frag_test.c
index 13c44133e009..e806c1866e36 100644
--- a/tools/testing/selftests/mm/page_frag/page_frag_test.c
+++ b/tools/testing/selftests/mm/page_frag/page_frag_test.c
@@ -126,7 +126,7 @@ static int __init page_frag_test_init(void)
u64 duration;
int ret;
- test_nc.va = NULL;
+ page_frag_cache_init(&test_nc);
atomic_set(&nthreads, 2);
init_completion(&wait);