Browse Source

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>
Greg Kroah-Hartman 7 years ago
parent
commit
806e30873f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/hwtracing/stm/core.c

+ 1 - 0
drivers/hwtracing/stm/core.c

@@ -19,6 +19,7 @@
 #include <linux/stm.h>
 #include <linux/stm.h>
 #include <linux/fs.h>
 #include <linux/fs.h>
 #include <linux/mm.h>
 #include <linux/mm.h>
+#include <linux/vmalloc.h>
 #include "stm.h"
 #include "stm.h"
 
 
 #include <uapi/linux/stm.h>
 #include <uapi/linux/stm.h>