summaryrefslogtreecommitdiff
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-26 09:49:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-26 09:49:24 +0300
commit806e30873f0e74d9d41b0ef761bd4d3e55c7d510 (patch)
tree5fd19870c2fa54093507a4158a57293cf6e234f1 /drivers/hwtracing
parent0ed2424b911f3a058dfea01b78817abed767433d (diff)
downloadlinux-806e30873f0e74d9d41b0ef761bd4d3e55c7d510.tar.xz
hwtracing: stm: fix build error on some arches
Commit b5e2ced9bf81 ("stm class: Use vmalloc for the master map") caused a build error on some arches as vmalloc.h was not explicitly included. Fix that by adding it to the list of includes. Fixes: b5e2ced9bf81 ("stm class: Use vmalloc for the master map") Reported-by: kbuild test robot <lkp@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing')
-rw-r--r--drivers/hwtracing/stm/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c
index 657badb479a5..10bcb5d73f90 100644
--- a/drivers/hwtracing/stm/core.c
+++ b/drivers/hwtracing/stm/core.c
@@ -19,6 +19,7 @@
#include <linux/stm.h>
#include <linux/fs.h>
#include <linux/mm.h>
+#include <linux/vmalloc.h>
#include "stm.h"
#include <uapi/linux/stm.h>