staging: lustre: fix build error in mdc_request.c
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 06:57:25 +0000 (08:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 06:57:25 +0000 (08:57 +0200)
Turns out we need some more .h files to build properly on all arches.
Specifically prefetch.h for this file.

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 73d65c8d1a85 ("staging: lustre: remove libcfs_all.h from lustre/include/*.h")
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_request.c

index e2f386c..50709ff 100644 (file)
@@ -40,6 +40,7 @@
 # include <linux/utsname.h>
 # include <linux/file.h>
 # include <linux/kthread.h>
+#include <linux/prefetch.h>
 
 #include <lustre_errno.h>
 #include <cl_object.h>