summaryrefslogtreecommitdiff
path: root/tools/testing/vma/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/vma/main.c')
-rw-r--r--tools/testing/vma/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/vma/main.c b/tools/testing/vma/main.c
index 49b09e97a51f..18338f5d29e0 100644
--- a/tools/testing/vma/main.c
+++ b/tools/testing/vma/main.c
@@ -14,6 +14,8 @@
#include "tests/mmap.c"
#include "tests/vma.c"
+int sysctl_max_map_count __read_mostly = DEFAULT_MAX_MAP_COUNT;
+
/* Helper functions which utilise static kernel functions. */
struct vm_area_struct *merge_existing(struct vma_merge_struct *vmg)