提交 2870cd10 编写于 作者: P Peng Tao 提交者: Greg Kroah-Hartman

staging/lustre/llite: add missing include file for prefetchw

Got below errors on s390 build:
  CC [M]  drivers/staging/lustre/lustre/llite/dir.o
drivers/staging/lustre/lustre/llite/dir.c: In function 'll_dir_filler':
drivers/staging/lustre/lustre/llite/dir.c:225:3: error: implicit declaration of function 'prefetchw' [-Werror=implicit-function-declaration]
Signed-off-by: NPeng Tao <tao.peng@emc.com>
Signed-off-by: NAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0e145b44
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/buffer_head.h> // for wait_on_buffer #include <linux/buffer_head.h> // for wait_on_buffer
#include <linux/pagevec.h> #include <linux/pagevec.h>
#include <linux/prefetch.h>
#define DEBUG_SUBSYSTEM S_LLITE #define DEBUG_SUBSYSTEM S_LLITE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册