lkml.org 
[lkml]   [2013]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH-v3 09/17] staging/lustre/llite: add missing include file for prefetchw
    Date
    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: Peng Tao <tao.peng@emc.com>
    Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
    ---
    drivers/staging/lustre/lustre/llite/dir.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/staging/lustre/lustre/llite/dir.c b/drivers/staging/lustre/lustre/llite/dir.c
    index 23c61fe..13a6426 100644
    --- a/drivers/staging/lustre/lustre/llite/dir.c
    +++ b/drivers/staging/lustre/lustre/llite/dir.c
    @@ -45,6 +45,7 @@
    #include <asm/uaccess.h>
    #include <linux/buffer_head.h> // for wait_on_buffer
    #include <linux/pagevec.h>
    +#include <linux/prefetch.h>

    #define DEBUG_SUBSYSTEM S_LLITE

    --
    1.7.9.5


    \
     
     \ /
      Last update: 2013-07-15 23:41    [W:2.493 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site