summaryrefslogtreecommitdiffstats
path: root/tools/perf/lib/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/lib/lib.c')
-rw-r--r--tools/perf/lib/lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/lib/lib.c b/tools/perf/lib/lib.c
index 2a81819c3b8c..18658931fc71 100644
--- a/tools/perf/lib/lib.c
+++ b/tools/perf/lib/lib.c
@@ -5,6 +5,8 @@
#include <linux/kernel.h>
#include <internal/lib.h>
+unsigned int page_size;
+
static ssize_t ion(bool is_read, int fd, void *buf, size_t n)
{
void *buf_start = buf;