diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-26 09:49:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-06 17:44:38 +0300 |
commit | 6ba7b04c063c457691e9a30d4316035a1518b287 (patch) | |
tree | 1c57f791635a6ca758171591bce05cdaf4f567be /drivers/hwtracing/stm | |
parent | 994347096a53d69ce5c9791627a9b5334d77c477 (diff) | |
download | linux-6ba7b04c063c457691e9a30d4316035a1518b287.tar.xz |
hwtracing: stm: fix build error on some arches
commit 806e30873f0e74d9d41b0ef761bd4d3e55c7d510 upstream.
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/stm')
-rw-r--r-- | drivers/hwtracing/stm/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c index b956305c1730..c38645106783 100644 --- a/drivers/hwtracing/stm/core.c +++ b/drivers/hwtracing/stm/core.c @@ -27,6 +27,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> |