OSDN Git Service

nds32: Fix xfs_buf built failed by export invalidate_kernel_vmap_range and flush_kern...
authorGreentime Hu <greentime@andestech.com>
Thu, 19 Apr 2018 07:38:58 +0000 (15:38 +0800)
committerGreentime Hu <greentime@andestech.com>
Wed, 23 May 2018 05:26:20 +0000 (13:26 +0800)
commit03969d0b3a3f6a7cd2c731eed1c4ccf76da88586
tree71ad536a95ccab656a5ad57ee040bfecc9c0f368
parent8cedb78fdf82468020a2f3b24ef63ccd397662a2
nds32: Fix xfs_buf built failed by export invalidate_kernel_vmap_range and flush_kernel_vmap_range

It broke the 'allmodconfig' build.
fs/xfs/xfs_buf.c: In function 'xfs_buf_bio_end_io':
fs/xfs/xfs_buf.c:1242:3: error: implicit declaration of function 'invalidate_kernel_vmap_range' [-Werror=implicit-function-declaration]
   invalidate_kernel_vmap_range(bp->b_addr, xfs_buf_vmap_len(bp));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_buf.c: In function 'xfs_buf_ioapply_map':
fs/xfs/xfs_buf.c:1312:4: error: implicit declaration of function 'flush_kernel_vmap_range' [-Werror=implicit-function-declaration]
    flush_kernel_vmap_range(bp->b_addr,
    ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/include/asm/cacheflush.h
arch/nds32/mm/cacheflush.c